Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

GetLength
GetMimeType
IsRewindable
MgByteReader
MgByteReader
MgByteReader
MgByteSink
MgByteSource
Read
Rewind
ToFile
ToString
MgByteReader::MgByteReader | ( | CREFSTRING | fileName,
|  | CREFSTRING | mimeType,
|  | bool | removeFile |
| ) |  |  |
Creates a byte reader from a file. .NET Syntax
`MgByteReader(string fileName, string mimeType, bool removeFile);`
Java Syntax
`MgByteReader(String fileName, String mimeType, bool removeFile);`
PHP Syntax
`MgByteReader(string fileName, string mimeType, bool removeFile);`
  Parameters:
  | fileName | (string/String/string) Name of file on disk.
  | mimeType | (string/String/string) Mime type for content
  | removeFile | (bool) Remove file when byte reader is deleted
Returns: Returns nothing

Comments or suggestions? Send us feedback.