Hunny Software Library Reference

ByteString.Data Property

Internal buffer.

[Visual Basic]
Public ReadOnly Property Data As Byte()
[C#]
public byte[] Data {get;}

Remarks

This property provides access to the internal buffer used by the ByteString instance. The content begins at position Offset and has length Length.

The internal buffer is typically shared by many ByteString instances. Therefore, it is never safe to modify the contents of the internal buffer. You must treat the internal buffer as a readonly array.

Applications typically do not need to use this property. It is used internally by the library and is made public so that third parties may use it to extend the library.

See Also

ByteString Class | Hunny.Base Namespace