Constructs an ByteBuffer from given source with capacity and length set to given length.

Namespace: BasicCard
Assembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)

Syntax

C#
public ByteBuffer(
	byte[] data,
	int startpos,
	int length
)
Visual Basic
Public Sub New ( 
	data As Byte(),
	startpos As Integer,
	length As Integer
)
Visual C++
public:
ByteBuffer(
	array<unsigned char>^ data, 
	int startpos, 
	int length
)
F#
new : 
        data : byte[] * 
        startpos : int * 
        length : int -> ByteBuffer

Parameters

data
Type: array<System..::..Byte>[]()[][]
Source data to copy into ByteBuffer.
startpos
Type: System..::..Int32
Start position within data.
length
Type: System..::..Int32
Number of bytes to copy.

See Also