- copyOf
Obtains an instance by copying part of an array. The input array is copied and
not mutated.
- readUtf8UsingBom
Reads the source, converting to UTF-8 using a Byte-Order Mark if available.
- size
- <init>
Creates an instance, without copying the array.
- asCharSourceUtf8UsingBom
Returns a CharSource for the same bytes, converted to UTF-8 using a Byte-Order
Mark if available.
- from
Creates an instance from an input stream. This method use the supplier to open
the input stream, ext
- isEmpty
- ofUnsafe
Creates an instance, not copying the array. This method is inherently unsafe as
it relies on good be
- read
- readUnsafe
Returns the underlying array. This method is inherently unsafe as it relies on
good behavior by call
- readUtf8
Reads the source, converting to UTF-8.
- sizeIfKnown
Gets the size, which is always known.