|
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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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