KetraTerm
API · v0.2.2All versions

TerminalByteSequence

Immutable byte sequence with content-based value semantics.

Kotlin arrays compare by identity, which is unsafe for golden conformance records. This type defensively copies bytes and compares their contents.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val size: Int

Number of bytes in the sequence.

Functions

Link copied to clipboard

Returns a detached byte array.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Formats bytes as uppercase, two-digit hexadecimal values without separators.

Link copied to clipboard
open override fun toString(): String