AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

MgByteReader::MgByteReader ( BYTE_ARRAY_IN  contents,
INT32  length,
CREFSTRING  mimeType 
)

Creates a byte reader from an array of bytes.

.NET Syntax
MgByteReader(Byte[] content, string mimeType);
Java Syntax
MgByteReader(byte[] content, String mimeType);
PHP Syntax
MgByteReader(string content, string mimeType);

Parameters:
contents (Byte[]/byte[]/string) Binary contents for byte reader.
length (int/int/int) Length of contents.
mimeType (string/String/string) Mime type for content.
Returns:
Returns nothing