| RawRecordReset Method |
Resets the this instance of the
RawRecord class for a new record.
Namespace:
Ookii.Jumbo.IO
Assembly:
Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax public void Reset(
byte[] buffer,
int offset,
int count
)
Public Sub Reset (
buffer As Byte(),
offset As Integer,
count As Integer
)
public:
void Reset(
array<unsigned char>^ buffer,
int offset,
int count
)
member Reset :
buffer : byte[] *
offset : int *
count : int -> unit
Parameters
- buffer
- Type: SystemByte
The buffer containing the record. - offset
- Type: SystemInt32
The offset in buffer at which the record starts. - count
- Type: SystemInt32
The number of bytes in buffer for the record.
Remarks
The value of buffer will be stored in this instance and returned by the Buffer property.
Any changes made to the contents of the buffer after calling Reset(Byte, Int32, Int32) will be reflected in this instance.
Note |
---|
Calling the Read(BinaryReader) method may overwrite the contents of the current buffer at offset zero, or allocate a new one if that buffer
is not big enough.
|
See Also