allocateEncodeSize

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

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

Parameters

length size_t

Number of bytes to be encoded

Meta