Hierarchy

Index

Constructors

constructor

Accessors

canSeek

  • get canSeek(): boolean

canWrite

  • get canWrite(): boolean

length

  • get length(): number

position

  • get position(): number
  • set position(value: number): void

Methods

close

  • close(): void

copyTo

flush

  • flush(): void

read

  • read(array: number[], offset?: number, length?: number): number
  • Parameters

    • array: number[]
    • Default value offset: number = 0
    • Default value length: number = array.length

    Returns number

seek

  • seek(offset: number, origin: SeekOrigin): number

setLength

  • setLength(length: number): void

toArray

  • toArray(): number[]

toString

  • toString(): string

write

  • write(array: number[], offset?: number, length?: number): void
  • Parameters

    • array: number[]
    • Default value offset: number = 0
    • Default value length: number = array.length

    Returns void

writeByte

  • writeByte(byte: number): void

writeBytes

  • writeBytes(array: Uint8Array, offset?: number, length?: number): void
  • Parameters

    • array: Uint8Array
    • Default value offset: number = 0
    • Default value length: number = array.length

    Returns void

writeEmptyBytes

  • writeEmptyBytes(count: number): void
  • Parameters

    • count: number

    Returns void

writeInt16

  • writeInt16(value: number): void
  • Parameters

    • value: number

    Returns void

writeInt32

  • writeInt32(value: number): void
  • Parameters

    • value: number

    Returns void

writeInt64

  • writeInt64(value: number): void
  • Parameters

    • value: number

    Returns void

writeLine

  • writeLine(inputString?: string): void

writeLine1

  • writeLine1(inputString?: string, ...values: any[]): void
  • Parameters

    • Default value inputString: string = null
    • Rest ...values: any[]

    Returns void

writeString

  • writeString(inputString: string, newLine?: boolean): void
  • Parameters

    • inputString: string
    • Default value newLine: boolean = false

    Returns void

writeTo

writeUInt16

  • writeUInt16(value: number): void
  • Parameters

    • value: number

    Returns void

writeUInt32

  • writeUInt32(value: number): void
  • Parameters

    • value: number

    Returns void

writeUInt64

  • writeUInt64(value: number): void
  • Parameters

    • value: number

    Returns void

Generated using TypeDoc