BigEndianWriter

Overview

BigEndianWriter is a class in Aspose.PSD FOSS for Python.

This class declares 26 methods for BigEndianWriter objects in Python programs. Available methods include: __enter__, __exit__, __init__, dispose, get_pascal_string_storage_length_aligned_to4, seek, write, write_all_bytes, write_byte, write_bytes, write_int, write_int16, and 14 additional methods. Public members are accessible to any Python application after installing the Aspose.PSD FOSS for Python package. Properties: position.

Properties

NameTypeAccessDescription
position-ReadGets the position.

Methods

SignatureDescription
__init__(stream, leave_open)Calls init(stream, leave_open) on this BigEndianWriter instance.
__enter__()Calls enter on this BigEndianWriter instance.
__exit__(exc_type, exc_val, exc_tb)Calls exit(exc_type, exc_val, exc_tb) on this BigEndianWriter instance.
seek(offset, origin)Calls seek(offset, origin) on this BigEndianWriter instance.
write(value)Calls write(value) on this BigEndianWriter instance.
write_byte(bytevalue)Calls write_byte(bytevalue) on this BigEndianWriter instance.
write_bytes(buffer, offset, count)Calls write_bytes(buffer, offset, count) on this BigEndianWriter instance.
write_sbyte(value)Calls write_sbyte(value) on this BigEndianWriter instance.
write_short(value)Calls write_short(value) on this BigEndianWriter instance.
write_ushort(value)Calls write_ushort(value) on this BigEndianWriter instance.
write_uint16(value: int)Write an unsigned 16‑bit integer (big‑endian).
write_int(value)Calls write_int(value) on this BigEndianWriter instance.
write_int32(value: int)Write a signed 32‑bit integer (big‑endian).
write_uint(value)Calls write_uint(value) on this BigEndianWriter instance.
write_uint32(value: int)Alias for writing a 32‑bit unsigned integer.
write_int16(value: int)Alias for writing a signed 16‑bit integer (short).
write_uint8(value: int)Alias for writing a single unsigned byte.
write_long(value)Calls write_long(value) on this BigEndianWriter instance.
write_ulong(value)Calls write_ulong(value) on this BigEndianWriter instance.
write_pascal_string(value)Calls write_pascal_string(value) on this BigEndianWriter instance.
write_pascal_string_aligned_to2(value)Calls write_pascal_string_aligned_to2(value) on this BigEndianWriter instance.
write_pascal_string_aligned_to_2(value: str)Alias for writing a Pascal string aligned to a 2‑byte boundary.
write_pascal_string_aligned_to4(value)Calls write_pascal_string_aligned_to4(value) on this BigEndianWriter instance.
get_pascal_string_storage_length_aligned_to4(value)Calls get_pascal_string_storage_length_aligned_to4(value) on this BigEndianWriter instance.
write_all_bytes(data)Calls write_all_bytes(data) on this BigEndianWriter instance.
dispose()Calls dispose on this BigEndianWriter instance.

See Also

 English