Module tools.jackson.databind
Package tools.jackson.databind.util
Class ByteBufferBackedOutputStream
java.lang.Object
java.io.OutputStream
tools.jackson.databind.util.ByteBufferBackedOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
Simple
OutputStream implementation that appends content
written in given ByteBuffer instance.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write
-
Field Details
-
_b
-
-
Constructor Details
-
ByteBufferBackedOutputStream
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream
-