allocateEncodeSize

calculates and returns the size needed to encode the length of the array passed.

  1. size_t allocateEncodeSize(ubyte[] data)
    size_t
    allocateEncodeSize
    (
    ubyte[] data
    )
  2. size_t allocateEncodeSize(size_t length)

Parameters

data ubyte[]

An array that will be encoded

Meta