wvlet
.
airframe
.
msgpack
.
io
ByteArrayBuffer
Related Docs:
object ByteArrayBuffer
|
package io
case class
ByteArrayBuffer
(
a:
Array
[
Byte
]
,
offset:
Int
,
size:
Int
)
extends
ReadBuffer
with
WriteBuffer
with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
WriteBuffer
,
ReadBuffer
,
Buffer
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
ByteArrayBuffer
Serializable
Serializable
Product
Equals
WriteBuffer
ReadBuffer
Buffer
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
ByteArrayBuffer
(
a:
Array
[
Byte
]
,
offset:
Int
,
size:
Int
)
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
val
a
:
Array
[
Byte
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
ensureCapacity
(
position:
Int
,
requestedLength:
Int
)
:
Unit
Definition Classes
ByteArrayBuffer
→
Buffer
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hasCapacity
(
position:
Int
,
byteLength:
Int
)
:
Boolean
Definition Classes
ByteArrayBuffer
→
Buffer
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
offset
:
Int
def
readByte
(
position:
Int
)
:
Byte
Definition Classes
ByteArrayBuffer
→
ReadBuffer
def
readBytes
(
position:
Int
,
length:
Int
,
dest:
WriteBuffer
,
destIndex:
Int
)
:
Unit
Definition Classes
ByteArrayBuffer
→
ReadBuffer
def
readBytes
(
position:
Int
,
length:
Int
,
dest:
Array
[
Byte
]
,
destOffset:
Int
)
:
Unit
Definition Classes
ByteArrayBuffer
→
ReadBuffer
def
readBytes
(
position:
Int
,
length:
Int
)
:
Array
[
Byte
]
Definition Classes
ByteArrayBuffer
→
ReadBuffer
def
readDouble
(
position:
Int
)
:
Double
Definition Classes
ReadBuffer
def
readFloat
(
position:
Int
)
:
Float
Definition Classes
ReadBuffer
def
readInt
(
position:
Int
)
:
Int
Definition Classes
ByteArrayBuffer
→
ReadBuffer
def
readLong
(
position:
Int
)
:
Long
Definition Classes
ByteArrayBuffer
→
ReadBuffer
def
readShort
(
position:
Int
)
:
Short
Definition Classes
ByteArrayBuffer
→
ReadBuffer
val
size
:
Int
Definition Classes
ByteArrayBuffer
→
Buffer
def
slice
(
position:
Int
,
newSize:
Int
)
:
ReadBuffer
Return a (shallow) copy of the buffer.
Return a (shallow) copy of the buffer.
Definition Classes
ByteArrayBuffer
→
Buffer
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
writeByte
(
position:
Int
,
v:
Byte
)
:
Int
Definition Classes
ByteArrayBuffer
→
WriteBuffer
def
writeByteAndByte
(
position:
Int
,
b:
Byte
,
v:
Byte
)
:
Int
Definition Classes
WriteBuffer
def
writeByteAndDouble
(
position:
Int
,
b:
Byte
,
v:
Double
)
:
Int
Definition Classes
WriteBuffer
def
writeByteAndFloat
(
position:
Int
,
b:
Byte
,
v:
Float
)
:
Int
Definition Classes
WriteBuffer
def
writeByteAndInt
(
position:
Int
,
b:
Byte
,
v:
Int
)
:
Int
Definition Classes
WriteBuffer
def
writeByteAndLong
(
position:
Int
,
b:
Byte
,
v:
Long
)
:
Int
Definition Classes
WriteBuffer
def
writeByteAndShort
(
position:
Int
,
b:
Byte
,
v:
Short
)
:
Int
Definition Classes
WriteBuffer
def
writeBytes
(
position:
Int
,
src:
ReadBuffer
,
srcPosition:
Int
,
length:
Int
)
:
Int
Definition Classes
ByteArrayBuffer
→
WriteBuffer
def
writeBytes
(
position:
Int
,
source:
Array
[
Byte
]
,
sourceOffset:
Int
,
length:
Int
)
:
Int
Definition Classes
ByteArrayBuffer
→
WriteBuffer
def
writeBytes
(
position:
Int
,
src:
Array
[
Byte
]
)
:
Int
Definition Classes
WriteBuffer
def
writeDouble
(
position:
Int
,
v:
Double
)
:
Int
Definition Classes
WriteBuffer
def
writeFloat
(
position:
Int
,
v:
Float
)
:
Int
Definition Classes
WriteBuffer
def
writeInt
(
position:
Int
,
v:
Int
)
:
Int
Definition Classes
ByteArrayBuffer
→
WriteBuffer
def
writeLong
(
position:
Int
,
v:
Long
)
:
Int
Definition Classes
ByteArrayBuffer
→
WriteBuffer
def
writeShort
(
position:
Int
,
v:
Short
)
:
Int
Definition Classes
ByteArrayBuffer
→
WriteBuffer
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
WriteBuffer
Inherited from
ReadBuffer
Inherited from
Buffer
Inherited from
AnyRef
Inherited from
Any
Ungrouped