ZipSplitReadOnlySeekableByteChannel
MultiReadOnlySeekableByteChannel that knows what a split ZIP archive should look like.
If you want to read a split archive using ZipFile then create an instance of this class from the parts of the archive.
Since
1.20
Functions
Link copied to clipboard
open fun forOrderedSeekableByteChannels(lastSegmentChannel: SeekableByteChannel, channels: Iterable<SeekableByteChannel>): SeekableByteChannel
Concatenates the given channels.
Link copied to clipboard
Concatenates the given channels.
Link copied to clipboard
Returns this channel's position.
Sets the channel's position to
newPosition.set the position based on the given channel number and relative offset
Link copied to clipboard
Reads bytes from this channel into the given buffer.
Link copied to clipboard
Truncates the data source underlying this channel to a given size.
Link copied to clipboard
Writes bytes from the given byte buffer to this channel.