- Preparing search index...
- The search index is not available
Deepkit
Constructors
constructor
- new Writer(buffer: Uint8Array, offset?: number): Writer
-
Parameters
-
buffer: Uint8Array
-
offset: number = 0
Properties
buffer
buffer: Uint8Array
dataView
dataView: DataView
offset
offset: number = 0
Methods
getBigIntBSONType
- getBigIntBSONType(value: bigint): number
-
Returns number
write
- write(value: any, nameWriter?: (() => void)): void
-
Parameters
-
value: any
-
Optional
nameWriter: (() => void)
Returns void
writeArrayBuffer
- writeArrayBuffer(value: ArrayBuffer | ArrayBufferView): void
-
Parameters
-
value: ArrayBuffer | ArrayBufferView
Returns void
writeAsciiString
- writeAsciiString(str: string | number): void
-
Returns void
writeBigIntBinary
- writeBigIntBinary(value: bigint): void
-
Returns void
writeBigIntLong
- writeBigIntLong(value: bigint): void
-
Returns void
writeBuffer
- writeBuffer(buffer: Uint8Array, offset?: number): void
-
Parameters
-
buffer: Uint8Array
-
offset: number = 0
Returns void
writeByte
- writeByte(v: number): void
-
Returns void
writeDelayedSize
- writeDelayedSize(v: number, position: number): void
-
Parameters
-
v: number
-
position: number
Returns void
writeDouble
- writeDouble(v: number): void
-
Returns void
writeInt32
- writeInt32(v: number): void
-
Returns void
writeLong
- writeLong(value: number): void
-
Returns void
writeNull
- writeNull(): void
-
Returns void
writeObjectId
- writeObjectId(value: string): void
-
Returns void
writeSignedBigIntBinary
- writeSignedBigIntBinary(value: bigint): void
-
Returns void
writeString
- writeString(str: string): void
-
Returns void
writeUUID
- writeUUID(value: string): void
-
Returns void
writeUint32
- writeUint32(v: number): void
-
Returns void