internal byte ReadByte() { byte value = 0; if (CheckAndSkipName()) { if (current != currentLast) { value = (byte)FastToValue.ToInt32(_buffer, ref position, ','); } else { value = (byte)FastToValue.ToInt32(_buffer, ref position, '}'); position++; } position++; } return(value); }
internal short ReadInt16() { short value = 0; if (CheckAndSkipName()) { if (current != currentLast) { value = (short)FastToValue.ToInt32(_buffer, ref position, ','); } else { value = (short)FastToValue.ToInt32(_buffer, ref position, '}'); position++; } position++; } return(value); }