Class ReusableByteArrayInputStream

java.lang.Object
java.io.InputStream
java.io.ByteArrayInputStream
org.apache.avro.util.ReusableByteArrayInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class ReusableByteArrayInputStream extends ByteArrayInputStream
  • Constructor Details

    • ReusableByteArrayInputStream

      public ReusableByteArrayInputStream()
  • Method Details

    • setByteArray

      public void setByteArray(byte[] buf, int offset, int length)