code: function(b, lenBytes, v) {
    // encode length at the start of the vector, where the number of bytes for
    // the length is the maximum number of bytes it would take to encode the
    // vector's ceiling
    b.putInt(v.length(), lenBytes << 3);
    b.putBuffer(v);
  }
docs: Writes a TLS variable-length vector to a byte buffer.
  
  @param b the byte buffer.
  @param lenBytes the number of bytes required to store the length.
  @param v the byte buffer vector.