Package-level declarations
Properties
Returns an estimate of the number of bytes that can be read (or skipped over) from this InputStream without blocking, safely wrapped as a Kapacity instance.
Returns the Kapacity of this ByteBuffer, calculated directly from its length on the disk.
Functions
Allocates a new standard (heap-backed) ByteBuffer with a capacity equal to this Kapacity.
Allocates a new direct (off-heap) ByteBuffer with a capacity equal to this Kapacity.
Reads up to the specified kapacity of bytes from this buffer into the destination array.
Reads up to the specified kapacity of bytes from this input stream into the given destination array.
Reads up to the specified kapacity of bytes from this input stream into the given destination array, returning the result as a Kapacity instance.
Allocates a new native Apple NSMutableData buffer initialized with zeros, sized exactly to this Kapacity.