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:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
-