| read-int buffer/ByteArray size-in-bytes/int offset/int -> int | |
|---|---|
| read-uint buffer/ByteArray size-in-bytes/int offset/int -> int | |
| put-uint buffer/ByteArray size-in-bytes/int offset/int value/int -> none | |
| operator == other/any -> bool | Whether this object is equal to the other. |
| stringify -> string | Stringifies this object. |
| uint8 buffer/ByteArray offset/int -> int | Reads an unsigned 8-bit integer from the buffer at the offset. |
| int8 buffer/ByteArray offset/int -> int | Reads an 8-bit integer from the buffer at the offset. |
| put-int8 buffer/ByteArray offset/int value/int -> none | Writes the value to the buffer at the offset. |
| put-uint8 buffer/ByteArray offset/int value/int -> none | Writes the value to the buffer at the offset. |
| uint16 buffer/ByteArray offset/int -> int | Reads a 16-bit unsigned integer from the buffer at the offset. |
| int16 buffer/ByteArray offset/int -> int | Reads a 16-bit signed integer from the buffer at the offset. |
| put-int16 buffer/ByteArray offset/int i16/int -> none | Writes the i16 to the buffer at the offset. |
| put-uint16 buffer/ByteArray offset/int u16/int -> none | Writes the u16 to the buffer at the offset. |
| uint24 buffer/ByteArray offset/int -> int | Reads a 24-bit unsigned integer from the buffer at the offset. |
| int24 buffer/ByteArray offset/int -> int | Reads a 24-bit signed integer from the buffer at the offset. |
| put-int24 buffer/ByteArray offset/int i24/int -> none | Writes the i24 to the buffer at the offset. |
| put-uint24 buffer/ByteArray offset/int u24/int -> none | Writes the u24 to the buffer at the offset. |
| uint32 buffer/ByteArray offset/int -> int | Reads a 32-bit unsigned integer from the buffer at the offset. |
| int32 buffer/ByteArray offset/int -> int | Reads a 32-bit signed integer from the buffer at the offset. |
| put-int32 buffer/ByteArray offset/int i32/int -> none | Writes the i32 to the buffer at the offset. |
| put-uint32 buffer/ByteArray offset/int u32/int -> none | Writes the u32 to the buffer at the offset. |
| int64 buffer/ByteArray offset/int -> int | Reads a 64-bit signed integer from the buffer at the offset. |
| put-int64 buffer/ByteArray offset/int i64/int -> none | Writes the i64 to the buffer at the offset. |
| float64 buffer/ByteArray offset/int -> float | Reads a 64-bit floating point number from the buffer at the offset. |
| put-float64 buffer/ByteArray offset/int f64/float -> none | Writes the f64 to the buffer at the offset. |
| float32 buffer/ByteArray offset/int -> float | Reads a 32-bit floating point number from the buffer at the offset. |
| put-float32 buffer/ByteArray offset/int f32/float -> none | Writes the f32 to the buffer at the offset. |
class Pin:
number/int
constructor .number:
operator == other:
if other is not Pin: return false
return number == other.number
hash-code method. That is, if a class has a hash-code member, then the equality and hash-code must agree. If two instances are equal (a == b), then their hash codes must also be equal (a.hash-code == b.hash-code).& 0xFFFF). The given i16 is allowed to be outside the signed 16-bit integer range. As a consequence, this operation behaves the same as put-uint16. The distinction between those two operations is purely for readability and to convey intent when writing the values.& 0xFFFFFF). The given i24 is allowed to be outside the signed 24-bit integer range. As a consequence, this operation behaves the same as put-uint24. The distinction between those two operations is purely for readability and to convey intent when writing the values.& 0xFFFF_FFFF). The given i32 is allowed to be outside the signed 32-bit integer range. As a consequence, this operation behaves the same as put-uint32. The distinction between those two operations is purely for readability and to convey intent when writing the values.& 0xFF). The given value is allowed to be outside the signed 8-bit integer range. As a consequence, this operation behaves the same as put-uint8. The distinction between those two operations is purely for readability and to convey intent when writing the values.& 0xFFFF). The given u16 is allowed to be outside the unsigned 16-bit integer range. As a consequence, this operation behaves the same as put-int16. The distinction between those two operations is purely for readability and to convey intent when writing the values.& 0xFFFFFF). The given u24 is allowed to be outside the unsigned 24-bit integer range. As a consequence, this operation behaves the same as put-int24. The distinction between those two operations is purely for readability and to convey intent when writing the values.& 0xFFFF_FFFF). The given u32 is allowed to be outside the unsigned 32-bit integer range. As a consequence, this operation behaves the same as put-int32. The distinction between those two operations is purely for readability and to convey intent when writing the values.& 0xFF). The given value is allowed to be outside the unsigned 8-bit integer range. As a consequence, this operation behaves the same as put-int8. The distinction between those two operations is purely for readability and to convey intent when writing the values.