BufferNumberBaseUtils

cc.otavia.buffer.utils.BufferNumberBaseUtils

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

final def readStringAsDouble(buffer: Buffer): Double
final def readStringAsFloat(buffer: Buffer): Float
final def readStringAsInt(buffer: Buffer): Int
final def readStringAsLong(buffer: Buffer): Long
final def readStringAsShort(buffer: Buffer): Short
final def writeDoubleAsString(buffer: Buffer, double: Double): Unit
final def writeFloatAsString(buffer: Buffer, float: Float): Unit
final def writeIntAsString(buffer: Buffer, int: Int): Unit
final def writeLongAsString(buffer: Buffer, long: Long): Unit
final def writeShortAsString(buffer: Buffer, short: Short): Unit
final protected def writeSignificantFractionDigits(x: Int, p: Int, posLim: Int, buffer: Buffer, ds: Array[Short]): 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 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 protected def writePositiveIntDigits(q: Int, p: Int, buffer: Buffer, ds: Array[Short]): Unit

Attributes

Inherited from:
BufferBaseUtils