Buffered Source
A source that keeps a buffer internally so that callers can do small reads without a performance penalty. It also allows clients to read ahead, buffering as much as necessary before consuming input.
Functions
indexOf
Link copied to clipboard
indexOfElement
Link copied to clipboard
abstract fun indexOfElement(targetBytes: ByteString, fromIndex: Long): Long
Content copied to clipboard
abstract fun indexOfElement(targetBytes: ByteString, fromIndex: Long): Long
Content copied to clipboard
inputStream
Link copied to clipboard
peek
Link copied to clipboard
rangeEquals
Link copied to clipboard
abstract fun rangeEquals(offset: Long, bytes: ByteString, bytesOffset: Int, byteCount: Int): Boolean
Content copied to clipboard
abstract fun rangeEquals(offset: Long, bytes: ByteString, bytesOffset: Int, byteCount: Int): Boolean
Content copied to clipboard
readByteArray
Link copied to clipboard
readByteString
Link copied to clipboard
readDecimalLong
Link copied to clipboard
readFully
Link copied to clipboard
readHexadecimalUnsignedLong
Link copied to clipboard
readLongLe
Link copied to clipboard
readShortLe
Link copied to clipboard
readString
Link copied to clipboard
readUtf8
Link copied to clipboard
readUtf8CodePoint
Link copied to clipboard
readUtf8Line
Link copied to clipboard
readUtf8LineStrict
Link copied to clipboard
Properties
Inheritors
Buffer
Link copied to clipboard