BigEndianReader
Tổng quan
BigEndianReader là một lớp trong Aspose.Psd FOSS cho Python.
Đọc dữ liệu big-endian từ một luồng.
Lớp này khai báo 19 phương thức cho các đối tượng BigEndianReader trong các chương trình Python. Các phương thức khả dụng bao gồm: __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, và 7 phương thức bổ sung. Các thành viên công khai có thể truy cập bởi bất kỳ ứng dụng Python nào sau khi cài đặt gói Aspose.Psd FOSS cho Python. Thuộc tính: length, position.
Thuộc tính
| Tên | Kiểu | Truy cập | Mô tả |
|---|---|---|---|
position | int | Đọc | Lấy vị trí. |
length | int | Đọc | Lấy độ dài. |
Phương thức
| Chữ ký | Mô tả |
|---|---|
__init__(stream: io.BufferedIOBase, leave_open: bool) | Calls init(stream, leave_open) trên instance BigEndianReader này. |
seek(offset: int, origin: int) | Gọi seek(offset, origin) trên instance BigEndianReader này. |
read_byte() → int | Gọi read_byte trên đối tượng BigEndianReader này. |
read_sbyte() → int | Gọi read_sbyte trên đối tượng BigEndianReader này. |
read_bytes(count: int) → bytes | Gọi read_bytes(count) trên đối tượng BigEndianReader này. |
read_int16() → int | Gọi read_int16 trên đối tượng BigEndianReader này. |
read_uint16() → int | Gọi read_uint16 trên đối tượng BigEndianReader này. |
read_int32() → int | Gọi read_int32 trên đối tượng BigEndianReader này. |
read_uint32() → int | Gọi read_uint32 trên đối tượng BigEndianReader này. |
read_int64() → int | Gọi read_int64 trên đối tượng BigEndianReader này. |
read_uint64() → int | Gọi read_uint64 trên đối tượng BigEndianReader này. |
read_single() → float | Gọi read_single trên đối tượng BigEndianReader này. |
read_double() → float | Gọi read_double trên đối tượng BigEndianReader này. |
read_pascal_string(max_length: int) → str | Gọi read_pascal_string(max_length) trên đối tượng BigEndianReader này. |
read_pascal_string_aligned_to2(max_length: int) → str | Gọi read_pascal_string_aligned_to2(max_length) trên đối tượng BigEndianReader này. |
read_pascal_string_aligned_to4(max_length: int) → str | Gọi read_pascal_string_aligned_to4(max_length) trên đối tượng BigEndianReader này. |
read_exactly(size: int) → bytes | Gọi read_exactly(size) trên đối tượng BigEndianReader này. |
skip(count: int) | Gọi skip(count) trên đối tượng BigEndianReader này. |
dispose() | Gọi dispose trên đối tượng BigEndianReader này. |