use of org.apache.ignite.binary.BinaryRawWriter in project ignite by apache.
the class PlatformDotNetEntityFrameworkCacheEntry method writeBinary.
/**
* {@inheritDoc}
*/
@Override
public void writeBinary(BinaryWriter writer) throws BinaryObjectException {
final BinaryRawWriter raw = writer.rawWriter();
if (entitySets != null) {
raw.writeInt(entitySets.length);
for (String entitySet : entitySets) raw.writeString(entitySet);
} else
raw.writeInt(-1);
raw.writeByteArray(data);
}
Aggregations