Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

GetMimeType
GetReader
MgByteSource
MgByteSource
SetMimeType
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

Comments or suggestions? Send us feedback.