Construct DataInput using a given length of an array of bytes.

Namespace: GemStone.GemFire.Cache
Assembly:  GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
Version: 3.6.2.0

Syntax

C#
public DataInput(
	byte[] buffer,
	int len
)
Visual Basic (Declaration)
Public Sub New ( _
	buffer As Byte(), _
	len As Integer _
)
Visual C++
public:
DataInput (
	array<unsigned char>^ buffer, 
	int len
)

Parameters

buffer
array<Byte>[]()
The buffer to use for reading data values.
len
Int32
The number of bytes from the start of the buffer to use.

Exceptions

ExceptionCondition
GemStone.GemFire.Cache..::IllegalArgumentException if the buffer is null

See Also