This commit is contained in:
Volker Berlin 2019-04-19 20:33:33 +02:00
parent efa65bb377
commit f466fc5c09

View File

@ -59,6 +59,9 @@ class StructTypeEntry extends TypeEntry {
stream.writeVaruint32( this.fields.size() );
for( NamedStorageType field : this.fields ) {
stream.writeVarint( 1 ); // 0 - immutable; 1 - mutable
if( field.type.getCode() > 0 ) {
stream.writeVaruint32( 0x6E );
}
stream.writeValueType( field.type );
}
}