Coder :: GetData

01 Returns the data array the coder object contains.
02

[C++] void const *GetData();
[C#] byte[] GetData();
[C#] internal IntPtr GetDataPtr();

03 Return Values:
[C++] GetData() returns the pointer to the internal byte array.
[C#] GetDataPtr() also returns this pointer.
[C#] GetData() (the public method) returns a managed byte array that has a copy of the internal byte array, containing up to GetCurPos() bytes.
04 [C#] The internal GetDataPtr() has been added to circumvent unnecessary unmanaged/managed/unmanaged conversions for the data if it is needed as a parameter for a library function.
05 Reference: net::semys
Implementation: Semys Architecture
See Also: Arch Coder Sub-System, Coder, GetCurPos(), SemysCoderGetData()

Goto: Main Page; This page is part of the Semys software documentation. See About: Documentation for details.