public byte[] AsByteArray() { var b = new ByteArrayBuilder(); BuildAsByteArray(b); return b.GetByteArray(); }