Class MutableByteArrayInputStream

java.lang.Object
java.io.InputStream
org.ebfhub.fastprotobuf.MutableByteArrayInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class MutableByteArrayInputStream
extends InputStream

MutableByteArrayInputStream class.

Version:
$Id: $Id
Author:
mac
  • Constructor Details

  • Method Details

    • read

      public int read()
      Specified by:
      read in class InputStream
    • setBytes

      public void setBytes​(byte[] tmp, int tmpLen)

      setBytes.

      Parameters:
      tmp - an array of byte objects.
      tmpLen - a int.
    • setBytes

      public void setBytes​(byte[] tmp, int offset, int tmpLen)

      setBytes.

      Parameters:
      tmp - an array of byte objects.
      offset - Start in array
      tmpLen - a int.