Options
All
  • Public
  • Public/Protected
  • All
Menu

Class to handle the protocol BlockExtend type

Hierarchy

  • BlockExtendSerializer

Index

Methods

Methods

Static read

Static size

Static write

  • Writes data to buf at the specified offset

    Parameters

    • data: IBlockExtendData

      BlockExtend data to be written to buffer

    • buf: Buffer

      Buffer object where the blockExtend will be written

    • Default value offset: number = 0

      Number of bytes to skip before starting to write.

    Returns number

    Offset plus the number of bytes that has been written