|
BinaryImageBaseGenerateHeaderImage Method
|
Generates the binary header image and copies it into the given buffer, for
HeaderLength bytes.
Namespace: GSF.ParsingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.205-beta+5ef4169f3b1079d8b163dd363614f656bd140924
Syntax protected virtual int GenerateHeaderImage(
byte[] buffer,
int startIndex
)
Protected Overridable Function GenerateHeaderImage (
buffer As Byte(),
startIndex As Integer
) As Integer
abstract GenerateHeaderImage :
buffer : byte[] *
startIndex : int -> int
override GenerateHeaderImage :
buffer : byte[] *
startIndex : int -> int
function GenerateHeaderImage(buffer, startIndex);
View SourceParameters
- buffer Byte
- Buffer used to hold generated binary image of the source object.
- startIndex Int32
- 0-based starting index in the buffer to start writing.
Return Value
Int32The number of bytes written to the
buffer.
Remarks
This method is typically overridden by a specific protocol implementation.
See Also