|
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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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