MsgStream

Overview

MsgStream is a named binary stream node within a MsgStorage. Each stream stores the raw bytes for a single MAPI property — for example the property value stream __substg1.0_0037001F holds the Unicode subject text. Read the raw bytes via Data, and check Name to identify which MAPI property tag the stream encodes. Use CreationTime and ModifiedTime for CFB-level timestamping.

Constructors

SignatureDescription
MsgStream(name: string, data: byte[]?)Creates a new MsgStream with the specified parameters.

Properties

NameTypeAccessDescription
NamestringReadCFB stream name encoding the MAPI property tag (e.g. __substg1.0_0037001F).
Databyte[]ReadRaw bytes of this property stream.
Clsidbyte[]Read16-byte CLSID of this stream entry (typically all zeros).
StateBitsuintReadUser-defined state bits stored in the CFB directory entry for this stream.
CreationTimeulongReadCFB creation timestamp for this stream entry (64-bit FILETIME).
ModifiedTimeulongReadCFB last-modification timestamp for this stream entry (64-bit FILETIME).

See Also