Short class - dart:ffi library (original) (raw)
The C short
type.
Typically a signed 16-bit integer. For a guaranteed 16-bit integer, use Int16 with the C int16_t
type. For an unsigned short
, use UnsignedShort.
The Short type is a native type, and should not be constructed in Dart code. It occurs only in native type signatures and as annotation on Struct andUnion fields.
Inheritance
- Object
- AbiSpecificInteger
- Short
Annotations
- @Since('2.17')
- @AbiSpecificIntegerMapping({Abi.androidArm : Int16(), Abi.androidArm64 : Int16(), Abi.androidIA32 : Int16(), Abi.androidX64 : Int16(), Abi.androidRiscv64 : Int16(), Abi.fuchsiaArm64 : Int16(), Abi.fuchsiaX64 : Int16(), Abi.fuchsiaRiscv64 : Int16(), Abi.iosArm : Int16(), Abi.iosArm64 : Int16(), Abi.iosX64 : Int16(), Abi.linuxArm : Int16(), Abi.linuxArm64 : Int16(), Abi.linuxIA32 : Int16(), Abi.linuxX64 : Int16(), Abi.linuxRiscv32 : Int16(), Abi.linuxRiscv64 : Int16(), Abi.macosArm64 : Int16(), Abi.macosX64 : Int16(), Abi.windowsArm64 : Int16(), Abi.windowsIA32 : Int16(), Abi.windowsX64 : Int16()})
Constructors
const
Properties
The hash code for this object.
no setterinherited
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
A string representation of this object.
inherited
Operators
operator ==(Object other)→ bool
The equality operator.
inherited