AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

MgByteSource::MgByteSource ( BYTE_ARRAY_IN  buffer,
INT32  length 
)

Construct a MgByteSource object from an array of bytes.

.NET Syntax
MgByteSource(Byte[] buffer, int length);
Java Syntax
MgByteSource(byte[] buffer, int length);
PHP Syntax
MgByteSource(string buffer, int length);

Parameters:
buffer (byte[]/Byte[]/string) Buffer containing the data
length (int) Length of the buffer