PsTaggedBlock class final

One Photoshop tagged block with loss-preserving source metadata.

Constructors

PsTaggedBlock({required String signature, required String key, int offset = -1, int? declaredLength, required Uint8List data, int? dataByteCount, Uint8List? paddingData})
Creates an immutable tagged block.

Properties

data Uint8List
Unpadded payload, or an empty list when preservation was disabled.
final
dataByteCount int
Number of payload bytes physically available in the decoded input.
final
declaredLength int
Payload length exactly as declared in the block header.
final
hashCode int
The hash code for this object.
no setterinherited
isComplete bool
Whether every byte declared by the header was available.
no setter
key String
Four-byte block key.
final
offset int
Absolute offset of the block signature, or -1 for authored data.
final
paddingData Uint8List
Optional alignment bytes following the payload.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature String
Four-byte Photoshop signature, normally 8BIM or 8B64.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited