import { default } from "https://deno.land/x/fkm_nbt@v0.1.0/utils/BinaryWriter.ts";
Properties
private
textEncoder: TextEncoderprivate
view: DataViewMethods
private
ensureCapacity(size: number): voidprivate
writeStringStorage(length: number, type: | "int16"
| "uint16"
| "int32"
| "uint32"
drop(): void
flush(): Uint8Array
getOffset(): number
setOffset(offset: number): void
useLittleEndian(little: boolean): void
write(value: number[]): void
writeBuffer(value: Uint8Array): void
writeByte(value: number): void
writeBytes(value: number[]): void
writeDouble(value: number, littleEndian?: boolean): void
writeFloat(value: number, littleEndian?: boolean): void
writeFloat32BE(value: number): void
writeFloat32LE(value: number): void
writeFloat64BE(value: number): void
writeFloat64LE(value: number): void
writeInt(value: number, littleEndian?: boolean): void
writeInt16BE(value: number): void
writeInt16LE(value: number): void
writeInt32BE(value: number): void
writeInt32LE(value: number): void
writeInt64BE(value: bigint): void
writeInt64LE(value: bigint): void
writeInt8(value: number): void
writeLong(value: bigint, littleEndian?: boolean): void
writeShort(value: number, littleEndian?: boolean): void
writeString(value: string, storage?: ): void
| "int16"
| "uint16"
| "int32"
| "uint32"
writeUByte(value: number): void
writeUCS2(value: string, storage?: ): void
| "int16"
| "uint16"
| "int32"
| "uint32"
writeUInt(value: number, littleEndian?: boolean): void
writeUInt16BE(value: number): void
writeUInt16LE(value: number): void
writeUInt32BE(value: number): void
writeUInt32LE(value: number): void
writeUInt64BE(value: bigint): void
writeUInt64LE(value: bigint): void
writeUInt8(value: number): void
writeULong(value: bigint, littleEndian?: boolean): void
writeUShort(value: number, littleEndian?: boolean): void
writeUTF8(value: string, storage?: ): void
| "int16"
| "uint16"
| "int32"
| "uint32"
writeVarInt(value: number): void