BufferBaseUtils

cc.otavia.buffer.utils.BufferBaseUtils

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

final protected def byteToChar(b2: Byte): Char
final protected def digitCount(q0: Long): Int
final def getStringAsBoolean(buffer: Buffer, index: Int): Boolean
final protected def isLeap(year: Int): Boolean
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

final def readStringAsBoolean(buffer: Buffer): Boolean
final def readStringAsByte(buffer: Buffer): Byte
final protected def rop(g1: Long, g0: Long, cp: Long): Long
final protected def rop(g: Long, cp: Int): Int
final def setBooleanAsString(buffer: Buffer, index: Int, boolean: Boolean): Unit
final protected def write18Digits(buffer: Buffer, x: Long, ds: Array[Short]): Unit
final protected def write2Digits(buffer: Buffer, q0: Int, ds: Array[Short]): Unit
final protected def write3Digits(buffer: Buffer, q0: Int, ds: Array[Short]): Unit
final protected def write4Digits(buffer: Buffer, q0: Int, ds: Array[Short]): Unit
final protected def write8Digits(buffer: Buffer, q0: Long, ds: Array[Short]): Unit
final def writeBooleanAsString(buffer: Buffer, boolean: Boolean): Unit
final def writeByteAsString(buffer: Buffer, byte: Byte): Unit
final protected def writePositiveIntDigits(q: Int, p: Int, buffer: Buffer, ds: Array[Short]): Unit