BufferNumberUtils

cc.otavia.buffer.utils.BufferNumberUtils

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

final def readStringAsBigInt(buffer: Buffer): BigInt
final def writeBigIntAsString(buffer: Buffer, bigInt: BigInt): Unit
final def writeBigIntegerAsString(buffer: Buffer, num: BigInteger): Unit

Inherited methods

final protected def byteToChar(b2: Byte): Char

Attributes

Inherited from:
BufferBaseUtils
final protected def digitCount(q0: Long): Int

Attributes

Inherited from:
BufferBaseUtils
final def getStringAsBoolean(buffer: Buffer, index: Int): Boolean

Attributes

Inherited from:
BufferBaseUtils
final protected def isLeap(year: Int): Boolean

Attributes

Inherited from:
BufferBaseUtils
final def isNonEscapedAscii(ch: Char): Boolean

Checks if a character does not require JSON escaping or encoding.

Checks if a character does not require JSON escaping or encoding.

Value parameters

ch

the character to check

Attributes

Returns

true if the character is a basic ASCII character (code point less than 0x80) that does not need JSON escaping

Inherited from:
BufferBaseUtils
final def readStringAsBoolean(buffer: Buffer): Boolean

Attributes

Inherited from:
BufferBaseUtils
final def readStringAsByte(buffer: Buffer): Byte

Attributes

Inherited from:
BufferBaseUtils
final def readStringAsDouble(buffer: Buffer): Double

Attributes

Inherited from:
BufferNumberBaseUtils
final def readStringAsFloat(buffer: Buffer): Float

Attributes

Inherited from:
BufferNumberBaseUtils
final def readStringAsInt(buffer: Buffer): Int

Attributes

Inherited from:
BufferNumberBaseUtils
final def readStringAsLong(buffer: Buffer): Long

Attributes

Inherited from:
BufferNumberBaseUtils
final def readStringAsShort(buffer: Buffer): Short

Attributes

Inherited from:
BufferNumberBaseUtils
final protected def rop(g: Long, cp: Int): Int

Attributes

Inherited from:
BufferBaseUtils
final protected def rop(g1: Long, g0: Long, cp: Long): Long

Attributes

Inherited from:
BufferBaseUtils
final def setBooleanAsString(buffer: Buffer, index: Int, boolean: Boolean): Unit

Attributes

Inherited from:
BufferBaseUtils
final protected def write18Digits(buffer: Buffer, x: Long, ds: Array[Short]): Unit

Attributes

Inherited from:
BufferBaseUtils
final protected def write2Digits(buffer: Buffer, q0: Int, ds: Array[Short]): Unit

Attributes

Inherited from:
BufferBaseUtils
final protected def write3Digits(buffer: Buffer, q0: Int, ds: Array[Short]): Unit

Attributes

Inherited from:
BufferBaseUtils
final protected def write4Digits(buffer: Buffer, q0: Int, ds: Array[Short]): Unit

Attributes

Inherited from:
BufferBaseUtils
final protected def write8Digits(buffer: Buffer, q0: Long, ds: Array[Short]): Unit

Attributes

Inherited from:
BufferBaseUtils
final def writeBooleanAsString(buffer: Buffer, boolean: Boolean): Unit

Attributes

Inherited from:
BufferBaseUtils
final def writeByteAsString(buffer: Buffer, byte: Byte): Unit

Attributes

Inherited from:
BufferBaseUtils
final def writeDoubleAsString(buffer: Buffer, double: Double): Unit

Attributes

Inherited from:
BufferNumberBaseUtils
final def writeFloatAsString(buffer: Buffer, float: Float): Unit

Attributes

Inherited from:
BufferNumberBaseUtils
final def writeIntAsString(buffer: Buffer, int: Int): Unit

Attributes

Inherited from:
BufferNumberBaseUtils
final def writeLongAsString(buffer: Buffer, long: Long): Unit

Attributes

Inherited from:
BufferNumberBaseUtils
final protected def writePositiveIntDigits(q: Int, p: Int, buffer: Buffer, ds: Array[Short]): Unit

Attributes

Inherited from:
BufferBaseUtils
final def writeShortAsString(buffer: Buffer, short: Short): Unit

Attributes

Inherited from:
BufferNumberBaseUtils
final protected def writeSignificantFractionDigits(x: Int, p: Int, posLim: Int, buffer: Buffer, ds: Array[Short]): Unit

Attributes

Inherited from:
BufferNumberBaseUtils