protected override void EncodeImpl(sul.Utils.Buffer _buffer) { _buffer.WriteVaruint(Encoding.UTF8.GetByteCount(name)); _buffer.WriteString(name); _buffer.WriteVaruint(Encoding.UTF8.GetByteCount(description)); _buffer.WriteString(description); _buffer.WriteUbyte(unknown2); _buffer.WriteUbyte(permissionLevel); _buffer.WriteLittleEndianInt(aliasesEnum); _buffer.WriteVaruint(overloads.Length); foreach (Overload overloadsChild in overloads) { overloadsChild.EncodeBody(_buffer); } }