RawJsonReader
com.hypixel.hytale.codec.util.RawJsonReader
implements AutoCloseable
Methods
Public Methods
Fields
Constructors
Constants
Constructors
RawJsonReader(char[] preFilledBuffer)RawJsonReader(Reader in, char[] buffer)Methods
Public Methods (75)
char[] cloneMark()void close()throws IOException
char[] closeAndTakeBuffer()throws IOException
void consumeIgnoreCase(String str, int start)throws IOException
void consumeWhiteSpace()throws IOException
boolean equalsIgnoreCase(char c1, char c2)void expect(char expect)throws IOException
void expect(String str, int start)throws IOException
int findOffset(int start, char value)throws IOException
int findOffset(char value)throws IOException
char[] getBuffer()int getBufferIndex()int getBufferSize()int getColumn()int getLine()int getMarkDistance()boolean isMarked()void mark()throws IOException
void mark(int readAheadLimit)throws IOException
boolean markSupported()int peek()throws IOException
int peek(int n)throws IOException
boolean peekFor(char consume)throws IOException
int read()throws IOException
boolean readBooleanValue()throws IOException
BsonArray readBsonArray(RawJsonReader reader)throws IOException
BsonDocument readBsonDocument(RawJsonReader reader)throws IOException
BsonValue readBsonValue(RawJsonReader reader)throws IOException
byte readByteValue()throws IOException
byte readByteValue(int radix)throws IOException
double readDoubleValue()throws IOException
float readFloatValue()throws IOException
int readIntValue()throws IOException
int readIntValue(int radix)throws IOException
long readLongValue()throws IOException
long readLongValue(int radix)throws IOException
Void readNullValue()throws IOException
String readRemainingString()throws IOException
String readString()throws IOException
long readStringPartAsLong(int count)throws IOException
<T> T readSync(Path path, Codec<T> codec, HytaleLogger logger)throws IOException
<T> T readSyncWithBak(Path path, Codec<T> codec, HytaleLogger logger)boolean ready()throws IOException
void reset()throws IOException
boolean seekToKey(RawJsonReader reader, String search)throws IOException
String seekToKeyFromObjectContinued(RawJsonReader reader, String search1, String search2)throws IOException
String seekToKeyFromObjectStart(RawJsonReader reader, String search1, String search2)throws IOException
long skip(long skip)throws IOException
void skipArray()throws IOException
void skipArrayContinued()throws IOException
void skipBooleanValue()throws IOException
void skipDoubleValue()throws IOException
void skipFloatValue()throws IOException
void skipIntValue()throws IOException
void skipIntValue(int radix)throws IOException
void skipLongValue()throws IOException
void skipLongValue(int radix)throws IOException
void skipNullValue()throws IOException
void skipObject()throws IOException
void skipObjectContinued()throws IOException
void skipOrThrow(long n)throws IOException
void skipRemainingString()throws IOException
void skipString()throws IOException
void skipValue()throws IOException
String toString()boolean tryConsume(char consume)throws IOException
boolean tryConsume(String str)throws IOException
boolean tryConsume(String str, int start)throws IOException
boolean tryConsumeOrExpect(char consume, char expect)throws IOException
int tryConsumeSome(String str, int start)throws IOException
boolean tryConsumeString(String str)throws IOException
void unmark()void validateBsonArray(RawJsonReader reader)throws IOException
void validateBsonDocument(RawJsonReader reader)throws IOException
void validateBsonValue(RawJsonReader reader)throws IOException
Fields
Private/Package Fields (12)
Object var7char[] bufferint bufferIndexint bufferSizeReader inint lineint lineStartint markIndexint markLineint markLineStartint streamIndexStringBuilder tempSb