com.github.libxjava.io
Class ByteArrayInputBuffer
java.lang.Object
java.io.InputStream
com.github.libxjava.io.ByteArrayInputBuffer
- All Implemented Interfaces:
- Closeable
public final class ByteArrayInputBuffer
- extends InputStream
- Version:
- libxjava-jse5 - 0.2
- Author:
- Marcel Patzlaff
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteArrayInputBuffer
public ByteArrayInputBuffer()
ByteArrayInputBuffer
public ByteArrayInputBuffer(byte[] buffer)
available
public int available()
- Overrides:
available in class InputStream
close
public void close()
- Specified by:
close in interface Closeable- Overrides:
close in class InputStream
getByteArrayReference
public byte[] getByteArrayReference()
mark
public void mark(int readlimit)
- Overrides:
mark in class InputStream
markSupported
public boolean markSupported()
- Overrides:
markSupported in class InputStream
read
public int read()
- Specified by:
read in class InputStream
read
public int read(byte[] b,
int off,
int len)
- Overrides:
read in class InputStream
reset
public void reset()
- Overrides:
reset in class InputStream
setInput
public void setInput(byte[] input)
setInput
public void setInput(byte[] input,
int off,
int len)
skip
public long skip(long n)
- Overrides:
skip in class InputStream
Copyright © 2010 Marcel Patzlaff. All Rights Reserved.