BigEndianReader
Przegląd
BigEndianReader jest klasą w Aspose.Psd FOSS dla Python.
Odczytuje dane big-endian ze strumienia.
Ta klasa deklaruje 19 metod dla obiektów BigEndianReader w programach Python. Dostępne metody obejmują: __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 oraz 7 dodatkowych metod. Członkowie publiczni są dostępni dla każdej aplikacji Python po zainstalowaniu pakietu Aspose.Psd FOSS dla Python. Właściwości: length, position.
Właściwości
| Nazwa | Typ | Dostęp | Opis |
|---|---|---|---|
position | int | Odczyt | Pobiera pozycję. |
length | int | Odczyt | Zwraca długość. |
Metody
| Sygnatura | Opis |
|---|---|
__init__(stream: io.BufferedIOBase, leave_open: bool) | Calls init(stream, leave_open) na tej instancji BigEndianReader. |
seek(offset: int, origin: int) | Wywołuje seek(offset, origin) na tej instancji BigEndianReader. |
read_byte() → int | Wywołuje read_byte na tej instancji BigEndianReader. |
read_sbyte() → int | Wywołuje read_sbyte na tej instancji BigEndianReader. |
read_bytes(count: int) → bytes | Wywołuje read_bytes(count) na tej instancji BigEndianReader. |
read_int16() → int | Wywołuje read_int16 na tej instancji BigEndianReader. |
read_uint16() → int | Wywołuje read_uint16 na tej instancji BigEndianReader. |
read_int32() → int | Wywołuje read_int32 na tej instancji BigEndianReader. |
read_uint32() → int | Wywołuje read_uint32 na tej instancji BigEndianReader. |
read_int64() → int | Wywołuje read_int64 na tej instancji BigEndianReader. |
read_uint64() → int | Wywołuje read_uint64 na tej instancji BigEndianReader. |
read_single() → float | Wywołuje read_single na tej instancji BigEndianReader. |
read_double() → float | Wywołuje read_double na tej instancji BigEndianReader. |
read_pascal_string(max_length: int) → str | Wywołuje read_pascal_string(max_length) na tej instancji BigEndianReader. |
read_pascal_string_aligned_to2(max_length: int) → str | Wywołuje read_pascal_string_aligned_to2(max_length) na tej instancji BigEndianReader. |
read_pascal_string_aligned_to4(max_length: int) → str | Wywołuje read_pascal_string_aligned_to4(max_length) na tej instancji BigEndianReader. |
read_exactly(size: int) → bytes | Wywołuje read_exactly(size) na tej instancji BigEndianReader. |
skip(count: int) | Wywołuje skip(count) na tej instancji BigEndianReader. |
dispose() | Wywołuje metodę dispose na tej instancji BigEndianReader. |