final class TBufInputTransport extends TTransport
A TTransport that's backed by a Buf.
We assume that the input
is "owned", and will directly access
the underlying byte array if possible for performance. If the
input
is needded intact, please instead copy the Buf
and then
provide it.
Note that this class is not threadsafe. If you wish to use it across threads, you must provide your own synchronization.
- Alphabetic
- By Inheritance
- TBufInputTransport
- TTransport
- Closeable
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def close(): Unit
- Definition Classes
- TBufInputTransport → TTransport → Closeable → AutoCloseable
- def consumeBuffer(len: Int): Unit
- Definition Classes
- TBufInputTransport → TTransport
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def flush(): Unit
- Definition Classes
- TTransport
- Annotations
- @throws(classOf[org.apache.thrift.transport.TTransportException])
- def getBuffer(): Array[Byte]
Depending on the Buf implementation, may entail copying
Depending on the Buf implementation, may entail copying
- Definition Classes
- TBufInputTransport → TTransport
- def getBufferPosition(): Int
- Definition Classes
- TBufInputTransport → TTransport
- def getBytesRemainingInBuffer(): Int
- Definition Classes
- TBufInputTransport → TTransport
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isOpen(): Boolean
- Definition Classes
- TBufInputTransport → TTransport
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def open(): Unit
- Definition Classes
- TBufInputTransport → TTransport
- def peek(): Boolean
- Definition Classes
- TTransport
- def read(buf: Array[Byte], offset: Int, length: Int): Int
- Definition Classes
- TBufInputTransport → TTransport
- def readAll(arg0: Array[Byte], arg1: Int, arg2: Int): Int
- Definition Classes
- TTransport
- Annotations
- @throws(classOf[org.apache.thrift.transport.TTransportException])
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def write(buf: Array[Byte], offset: Int, length: Int): Unit
- Definition Classes
- TBufInputTransport → TTransport
- def write(arg0: Array[Byte]): Unit
- Definition Classes
- TTransport
- Annotations
- @throws(classOf[org.apache.thrift.transport.TTransportException])