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

Annotations

Constructors

Short.new()

const

Properties

hashCodeint

The hash code for this object.

no setterinherited

runtimeTypeType

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