Package org.smallmind.nutsnbolts.io
Class ByteArrayIOStream
- java.lang.Object
-
- org.smallmind.nutsnbolts.io.ByteArrayIOStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class ByteArrayIOStream extends Object implements Closeable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classByteArrayIOStream.ByteArrayInputStreamclassByteArrayIOStream.ByteArrayOutputStream
-
Constructor Summary
Constructors Constructor Description ByteArrayIOStream()ByteArrayIOStream(int allocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteArrayIOStream.ByteArrayInputStreamasInputStream()ByteArrayIOStream.ByteArrayOutputStreamasOutputStream()voidclose()
-
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
asInputStream
public ByteArrayIOStream.ByteArrayInputStream asInputStream()
-
asOutputStream
public ByteArrayIOStream.ByteArrayOutputStream asOutputStream()
-
-