Encodes and decodes Photoshop action descriptors.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
decode(
Uint8List bytes, {PsDescriptorDecodeOptions options = const PsDescriptorDecodeOptions()}) → PsDescriptor -
Decodes one descriptor and requires all
bytesto belong to it. -
decodePrefix(
Uint8List bytes, {PsDescriptorDecodeOptions options = const PsDescriptorDecodeOptions()}) → ({int bytesRead, PsDescriptor descriptor}) -
Decodes one descriptor from the beginning of
bytes. -
decodeReader(
PsBinaryReader reader, {PsDescriptorDecodeOptions options = const PsDescriptorDecodeOptions()}) → PsDescriptor -
Decodes one descriptor at the current position and advances
reader. -
encode(
PsDescriptor descriptor, {bool requireIntegerReferenceClasses = false}) → Uint8List -
Encodes
descriptorwithout an outer version or length field.