Method | Description | |
---|---|---|
ReadImage ( Stream s, Compression &compress, string>.Dictionary |
Reads a binary image. Note that this method will work on both actual BIEF-formatted files and raw big-endian files.
|
|
ReadImage ( string path, Compression &compress, string>.Dictionary |
Reads a binary image. Note that this method will work on both actual BIEF-formatted files and raw big-endian files.
|
|
ReadRawImage ( Stream s, ByteOrder byteOrder = ByteOrder.BigEndian ) : ushort[] |
Reads a raw, unencapsulated binary image, performing byte swapping as necessary.
|
|
ReadRawImage ( string path, ByteOrder byteOrder = ByteOrder.BigEndian ) : ushort[] |
Reads a raw, unencapsulated binary image, performing byte swapping as necessary.
|
|
WriteImage ( Stream s, ushort words, string>.Dictionary |
Writes data to a binary image.
|
|
WriteImage ( string path, ushort words, string>.Dictionary |
Writes data to a binary image.
|
|
WriteRawImage ( Stream s, ushort words, ByteOrder byteOrder = ByteOrder.BigEndian ) : void |
Writes a raw, unencapsulated binary image, performing byte swapping as necessary.
|
|
WriteRawImage ( string path, ushort words, ByteOrder byteOrder = ByteOrder.BigEndian ) : void |
Writes a raw, unencapsulated binary image, performing byte swapping as necessary.
|
Method | Description | |
---|---|---|
BinaryImage ( ) : System | ||
zlibCompress ( byte bytes ) : byte[] | ||
zlibDecompress ( byte cbytes ) : byte[] |
public static ReadImage ( Stream s, Compression &compress, string>.Dictionary |
||
s | Stream | Stream to read from. The stream must be seekable. |
compress | Compression | |
headers | string>.Dictionary | If non-null, all headers will be /// added to this dictionary. Header keys will be lower case. |
return | ushort[] |
public static ReadImage ( string path, Compression &compress, string>.Dictionary |
||
path | string | Path to the binary image file. |
compress | Compression | |
headers | string>.Dictionary | If non-null, all headers will be /// added to this dictionary. Header keys will be lower case. |
return | ushort[] |
public static ReadRawImage ( Stream s, ByteOrder byteOrder = ByteOrder.BigEndian ) : ushort[] | ||
s | Stream | Stream to read from. |
byteOrder | ByteOrder | Byte order of the file. |
return | ushort[] |
public static ReadRawImage ( string path, ByteOrder byteOrder = ByteOrder.BigEndian ) : ushort[] | ||
path | string | Path to the file to read from. |
byteOrder | ByteOrder | Byte order of the file. |
return | ushort[] |
public static WriteImage ( Stream s, ushort words, string>.Dictionary |
||
s | Stream | Stream to write to. |
words | ushort | The data to write. |
headers | string>.Dictionary | Additional headers to include in the output. |
compression | Compression | Compression scheme to use. |
encoding | Encoding | Byte encoding scheme to use. |
byteOrder | ByteOrder | On-disk byte ordering. |
return | void |
public static WriteImage ( string path, ushort words, string>.Dictionary |
||
path | string | Path of the file to write to. |
words | ushort | The data to write. |
headers | string>.Dictionary | Additional headers to include in the output. |
compression | Compression | Compression scheme to use. |
encoding | Encoding | Byte encoding scheme to use. |
byteOrder | ByteOrder | On-disk byte ordering. |
return | void |
public static WriteRawImage ( Stream s, ushort words, ByteOrder byteOrder = ByteOrder.BigEndian ) : void | ||
s | Stream | Stream to write to. |
words | ushort | Data to write. |
byteOrder | ByteOrder | Byte order of the file. |
return | void |
public static WriteRawImage ( string path, ushort words, ByteOrder byteOrder = ByteOrder.BigEndian ) : void | ||
path | string | Path to the file to write to. |
words | ushort | Data to write. |
byteOrder | ByteOrder | Byte order of the file. |
return | void |