BigEndianReader
סקירה כללית
BigEndianReader היא מחלקה ב-Aspose.Psd FOSS עבור Python.
קורא נתונים ב-big-endian מזרם.
מחלקה זו מגדירה 19 שיטות עבור עצמים BigEndianReader בתוכניות Python. השיטות הזמינות כוללות: __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, ו-7 שיטות נוספות. חברים ציבוריים נגישים לכל יישום Python לאחר התקנת חבילת Aspose.Psd FOSS עבור Python. מאפיינים: length, position.
מאפיינים
| שם | סוג | גישה | תיאור |
|---|---|---|---|
position | int | קריאה | מקבל את המיקום. |
length | int | קריאה | מקבל את האורך. |
שיטות
| חתימה | תיאור |
|---|---|
__init__(stream: io.BufferedIOBase, leave_open: bool) | Calls init(stream, leave_open) במופע BigEndianReader זה. |
seek(offset: int, origin: int) | קורא לseek(offset, origin) במופע BigEndianReader זה. |
read_byte() → int | קורא ל-read_byte על מופע BigEndianReader זה. |
read_sbyte() → int | קורא ל-read_sbyte על מופע BigEndianReader זה. |
read_bytes(count: int) → bytes | קורא ל-read_bytes(count) על מופע BigEndianReader זה. |
read_int16() → int | קורא ל-read_int16 על מופע BigEndianReader זה. |
read_uint16() → int | מפעיל את read_uint16 על מופע BigEndianReader זה. |
read_int32() → int | מפעיל את read_int32 על מופע BigEndianReader זה. |
read_uint32() → int | מפעיל את read_uint32 על מופע BigEndianReader זה. |
read_int64() → int | מפעיל את read_int64 על מופע BigEndianReader זה. |
read_uint64() → int | קורא ל-read_uint64 על המופע BigEndianReader הזה. |
read_single() → float | קורא ל-read_single על המופע BigEndianReader הזה. |
read_double() → float | קורא ל-read_double על המופע BigEndianReader הזה. |
read_pascal_string(max_length: int) → str | קורא ל-read_pascal_string(max_length) על המופע BigEndianReader הזה. |
read_pascal_string_aligned_to2(max_length: int) → str | קורא ל-read_pascal_string_aligned_to2(max_length) על מופע BigEndianReader זה. |
read_pascal_string_aligned_to4(max_length: int) → str | קורא ל-read_pascal_string_aligned_to4(max_length) על מופע BigEndianReader זה. |
read_exactly(size: int) → bytes | קורא ל-read_exactly(size) על מופע BigEndianReader זה. |
skip(count: int) | קורא ל-skip(count) על מופע BigEndianReader זה. |
dispose() | קורא ל-dispose על מופע ה-BigEndianReader הזה. |