BigEndianReader
Overview
BigEndianReader is a class in Aspose.Psd FOSS for Python.
Reads big-endian data from a stream.
This class declares 19 methods for BigEndianReader objects in Python programs.
Available methods include: __init__, dispose, read_byte, read_bytes, read_double, read_exactly, read_int16, read_int32, read_int64, read_pascal_string, read_pascal_string_aligned_to2, read_pascal_string_aligned_to4, and 7 additional methods.
Public members are accessible to any Python application after installing the Aspose.Psd FOSS for Python package.
Properties: length, position.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
position | int | Read | Gets the position. |
length | int | Read | Gets the length. |
Methods
| Signature | Description |
|---|---|
__init__(stream: io.BufferedIOBase, leave_open: bool) | Calls init(stream, leave_open) on this BigEndianReader instance. |
seek(offset: int, origin: int) | Calls seek(offset, origin) on this BigEndianReader instance. |
read_byte() → int | Calls read_byte on this BigEndianReader instance. |
read_sbyte() → int | Calls read_sbyte on this BigEndianReader instance. |
read_bytes(count: int) → bytes | Calls read_bytes(count) on this BigEndianReader instance. |
read_int16() → int | Calls read_int16 on this BigEndianReader instance. |
read_uint16() → int | Calls read_uint16 on this BigEndianReader instance. |
read_int32() → int | Calls read_int32 on this BigEndianReader instance. |
read_uint32() → int | Calls read_uint32 on this BigEndianReader instance. |
read_int64() → int | Calls read_int64 on this BigEndianReader instance. |
read_uint64() → int | Calls read_uint64 on this BigEndianReader instance. |
read_single() → float | Calls read_single on this BigEndianReader instance. |
read_double() → float | Calls read_double on this BigEndianReader instance. |
read_pascal_string(max_length: int) → str | Calls read_pascal_string(max_length) on this BigEndianReader instance. |
read_pascal_string_aligned_to2(max_length: int) → str | Calls read_pascal_string_aligned_to2(max_length) on this BigEndianReader instance. |
read_pascal_string_aligned_to4(max_length: int) → str | Calls read_pascal_string_aligned_to4(max_length) on this BigEndianReader instance. |
read_exactly(size: int) → bytes | Calls read_exactly(size) on this BigEndianReader instance. |
skip(count: int) | Calls skip(count) on this BigEndianReader instance. |
dispose() | Calls dispose on this BigEndianReader instance. |