public class MemorySegmentInputStreamWithPos extends InputStream
Constructor and Description |
---|
MemorySegmentInputStreamWithPos(MemorySegment segment,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
int |
getPosition() |
void |
mark(int readAheadLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
void |
setPosition(int pos) |
void |
setSegment(MemorySegment segment,
int offset,
int length) |
long |
skip(long toSkip) |
read
public MemorySegmentInputStreamWithPos(MemorySegment segment, int offset, int length)
public int read()
read
in class InputStream
public int read(@Nonnull byte[] b, int off, int len)
read
in class InputStream
public long skip(long toSkip)
skip
in class InputStream
public boolean markSupported()
markSupported
in class InputStream
public void mark(int readAheadLimit)
mark
in class InputStream
public void reset()
reset
in class InputStream
public int available()
available
in class InputStream
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
public int getPosition()
public void setPosition(int pos)
public void setSegment(MemorySegment segment, int offset, int length)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.