destack:bytes import destack:bytes Classes - ByteBuffer — Growable byte buffer. - ByteReader — Sequential byte reader over in-memory bytes. Type aliases - ByteOrder — Byte order for numeric encoding. - Bytes — Immutable byte sequence. Functions - clone — Clone bytes into immutable storage. - compare — Compare two byte sequences lexicographically. - contains — Return whether bytes contains needle. - count — Return the number of non-overlapping occurrences of needle. - endsWith — Return whether bytes ends with suffix. - equal — Return whether two byte sequences are equal. - indexOf — Return the first index of needle. - join — Join byte sequences with separator. - lastIndexOf — Return the last index of needle. - readFloat32 — Read one 32-bit float. - readFloat64 — Read one 64-bit float. - readInt16 — Read one signed 16-bit integer. - readInt32 — Read one signed 32-bit integer. - readInt64 — Read one signed 64-bit integer. - readUint16 — Read one unsigned 16-bit integer. - readUint32 — Read one unsigned 32-bit integer. - readUint64 — Read one unsigned 64-bit integer. - repeat — Repeat bytes count times. - split — Split bytes around separator. - splitAfter — Split bytes after each separator. - startsWith — Return whether bytes starts with prefix. - trimAscii — Trim leading and trailing ASCII whitespace. - trimAsciiEnd — Trim trailing ASCII whitespace. - trimAsciiStart — Trim leading ASCII whitespace. - writeFloat32 — Write one 32-bit float. - writeFloat64 — Write one 64-bit float. - writeInt16 — Write one signed 16-bit integer. - writeInt32 — Write one signed 32-bit integer. - writeInt64 — Write one signed 64-bit integer. - writeUint16 — Write one unsigned 16-bit integer. - writeUint32 — Write one unsigned 32-bit integer. - writeUint64 — Write one unsigned 64-bit integer.