Table of Contents

Method OctetsIn

Namespace
MailFathom.Application.EmailContent.Rendering
Assembly
MailFathom.Application.dll

OctetsIn(string)

Reads the octets behind every picture the markup carries in itself.

public static long OctetsIn(string markup)

Parameters

markup string

The representation to read.

Returns

long

The octets, counting a remote address the reader asked for as none, because it carries no octets.

Remarks

A reference is read out of the serialized markup rather than out of the parse that produced it, because the string is what this representation is: nothing downstream holds a tree to walk, and re-parsing it to count would make one pass's output another parser's input for a number a scan answers.

Exceptions

ArgumentNullException

Thrown when markup is null.