BigEndianReader

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

NameTypeAccessDescription
positionintReadGets the position.
lengthintReadGets the length.

Methods

SignatureDescription
__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() → intCalls read_byte on this BigEndianReader instance.
read_sbyte() → intCalls read_sbyte on this BigEndianReader instance.
read_bytes(count: int) → bytesCalls read_bytes(count) on this BigEndianReader instance.
read_int16() → intCalls read_int16 on this BigEndianReader instance.
read_uint16() → intCalls read_uint16 on this BigEndianReader instance.
read_int32() → intCalls read_int32 on this BigEndianReader instance.
read_uint32() → intCalls read_uint32 on this BigEndianReader instance.
read_int64() → intCalls read_int64 on this BigEndianReader instance.
read_uint64() → intCalls read_uint64 on this BigEndianReader instance.
read_single() → floatCalls read_single on this BigEndianReader instance.
read_double() → floatCalls read_double on this BigEndianReader instance.
read_pascal_string(max_length: int) → strCalls read_pascal_string(max_length) on this BigEndianReader instance.
read_pascal_string_aligned_to2(max_length: int) → strCalls read_pascal_string_aligned_to2(max_length) on this BigEndianReader instance.
read_pascal_string_aligned_to4(max_length: int) → strCalls read_pascal_string_aligned_to4(max_length) on this BigEndianReader instance.
read_exactly(size: int) → bytesCalls read_exactly(size) on this BigEndianReader instance.
skip(count: int)Calls skip(count) on this BigEndianReader instance.
dispose()Calls dispose on this BigEndianReader instance.

See Also