UnsignedShort class final

The C unsigned short type.

Typically an unsigned 16-bit integer. For a guaranteed 16-bit integer, use Uint16 with the C uint16_t type. For a signed short, use Short.

The UnsignedShort 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 and Union fields.

Inheritance
Annotations
  • @Since('2.17')
  • @AbiSpecificIntegerMapping({Abi.androidArm : Uint16(), Abi.androidArm64 : Uint16(), Abi.androidIA32 : Uint16(), Abi.androidX64 : Uint16(), Abi.fuchsiaArm64 : Uint16(), Abi.fuchsiaX64 : Uint16(), Abi.fuchsiaRiscv64 : Uint16(), Abi.iosArm : Uint16(), Abi.iosArm64 : Uint16(), Abi.iosX64 : Uint16(), Abi.linuxArm : Uint16(), Abi.linuxArm64 : Uint16(), Abi.linuxIA32 : Uint16(), Abi.linuxX64 : Uint16(), Abi.linuxRiscv32 : Uint16(), Abi.linuxRiscv64 : Uint16(), Abi.macosArm64 : Uint16(), Abi.macosX64 : Uint16(), Abi.windowsArm64 : Uint16(), Abi.windowsIA32 : Uint16(), Abi.windowsX64 : Uint16()})

Constructors

UnsignedShort()
const

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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