프로퍼티 | 타입 | 설명 | |
---|---|---|---|
data | byte[] | ||
internalLength | int | ||
internalOffset | int |
메소드 | 설명 | |
---|---|---|
ByteAt ( int index ) : byte |
Returns the byte at the given index.
|
|
Clone ( ) : |
Clones this payload by creating a copy of the underlying byte array.
|
|
CopyTo ( byte target, int targetOffset ) : void |
Copies the payload data to a byte array.
|
|
Equals ( System obj ) : bool | ||
GetData ( ) : byte[] |
Gets or sets a reference to the underlying byte array that holds this payloads data. Data is not copied.
|
|
GetHashCode ( ) : int | ||
Payload ( ) : System |
Creates an empty payload and does not allocate a byte array.
|
|
Payload ( byte data ) : System |
Creates a new payload with the the given array as data. A reference to the passed-in array is held, i. e. no copy is made.
|
|
Payload ( byte data, int offset, int length ) : System |
Creates a new payload with the the given array as data. A reference to the passed-in array is held, i. e. no copy is made.
|
|
SetData ( byte value ) : void |
Gets or sets a reference to the underlying byte array that holds this payloads data. Data is not copied.
|
|
SetData ( byte value, int offset, int length ) : void |
Sets this payloads data. A reference to the passed-in array is held, i. e. no copy is made.
|
|
ToByteArray ( ) : byte[] |
Allocates a new byte array, copies the payload data into it and returns it.
|
public CopyTo ( byte target, int targetOffset ) : void | ||
target | byte | the target byte array /// |
targetOffset | int | the offset in the target byte array /// |
리턴 | void |
public Payload ( byte data ) : System | ||
data | byte | the data of this payload /// |
리턴 | System |
public Payload ( byte data, int offset, int length ) : System | ||
data | byte | the data of this payload /// |
offset | int | the offset in the data byte array /// |
length | int | the length of the data /// |
리턴 | System |
public SetData ( byte value, int offset, int length ) : void | ||
value | byte | |
offset | int | |
length | int | |
리턴 | void |