- <init>
Constructs a new ByteVector from the given initial data.
- encodeUtf8
Puts an UTF8 string into this byte vector. The byte vector is automatically
enlarged if necessary. T
- enlarge
Enlarges this byte vector so that it can receive 'size' more bytes.
- put11
Puts two bytes into this byte vector. The byte vector is automatically enlarged
if necessary.
- put12
Puts a byte and a short into this byte vector. The byte vector is automatically
enlarged if necessar
- put122
Puts one byte and two shorts into this byte vector. The byte vector is
automatically enlarged if nec
- putByte
Puts a byte into this byte vector. The byte vector is automatically enlarged if
necessary.
- putByteArray
Puts an array of bytes into this byte vector. The byte vector is automatically
enlarged if necessary
- putInt
Puts an int into this byte vector. The byte vector is automatically enlarged if
necessary.
- putLong
Puts a long into this byte vector. The byte vector is automatically enlarged if
necessary.
- putShort
Puts a short into this byte vector. The byte vector is automatically enlarged if
necessary.
- putUTF8
Puts an UTF8 string into this byte vector. The byte vector is automatically
enlarged if necessary.