internal sbyte ReadSByte() { sbyte value = 0; if (CheckAndSkipName()) { if (current != currentLast) { value = (sbyte)FastToValue.ToUInt32(_buffer, ref position, ','); } else { value = (sbyte)FastToValue.ToUInt32(_buffer, ref position, '}'); position++; } position++; } return(value); }
internal ushort ReadUInt16() { ushort value = 0; if (CheckAndSkipName()) { if (current != currentLast) { value = (ushort)FastToValue.ToUInt32(_buffer, ref position, ','); } else { value = (ushort)FastToValue.ToUInt32(_buffer, ref position, '}'); position++; } position++; } return(value); }