mimeEntityGetRawBodyOffset

SYNOPSIS

int64 mimeEntityGetRawBodyOffset(mimeEntity entityOrReader)

Parameters:

  • entityOrReader - A mimeEntity or mimeReader object

Returns:

  • int64 byte offset of raw (original encoded) body in message


DESCRIPTION
The mimeEntityGetRawBodyOffset function returns the byte offset of the entity's raw (original encoded) body in the overall message (not entity), as an int64 value. This can be used for debugging purposes, e.g. analyzing the structure of a message.


EXAMPLE

<$ret = (mimeEntityGetRawBodyOffset($reader))>


CAVEATS
Typically mimeEntityGetBody (here) is used instead, as it decodes the body.


SEE ALSO
mimeEntityGetBody


Copyright © Thunderstone Software     Last updated: Oct 24 2023
Copyright © 2024 Thunderstone Software LLC. All rights reserved.