public class BytesReader extends Object
| Modifier and Type | Method and Description |
|---|---|
static BytesReader |
create(swaydb.data.slice.Slice<Object> slice)
Creates the BytesReader object.
|
boolean |
readBoolean()
Reads the boolean data.
|
byte |
readByte()
Reads the byte data.
|
int |
readInt()
Reads the int data.
|
long |
readLong()
Reads the long data.
|
String |
readString(int size)
Reads the string data.
|
public static BytesReader create(swaydb.data.slice.Slice<Object> slice)
slice - the slicepublic String readString(int size)
size - the sizepublic int readInt()
public long readLong()
public byte readByte()
public boolean readBoolean()
Copyright © 2019. All rights reserved.