window.kaolin
    Preparing search index...

    Function namedValueFromBinary

    • Parses named value from binary data, assuming specific layout:

      • 4 bytes for int32 name length
      • name_length bytes for the ascii name of the value
      • the rest is same layout as assumed by valueFromBinary

      Parameters

      • binaryData: ArrayBuffer

        Input binary data

      • offset: number = 0

        Byte offset in data

      Returns [
          string
          | number
          | any[]
          | ArrayBuffer
          | Blob
          | Map<string, any>,
          number[],
          number,
          string,
      ]

      [value, shape, readBytes, name]