Search in sources :

Example 1 with JKeySerializer

use of com.hedera.services.legacy.core.jproto.JKeySerializer in project hedera-services by hashgraph.

the class HFileMetaSerdeTest method undoStaticMocking.

private void undoStaticMocking() {
    HFileMetaSerde.serdes = new DomainSerdes();
    HFileMetaSerde.setSerInFactory(SerializableDataInputStream::new);
    HFileMetaSerde.setSerOutFactory(SerializableDataOutputStream::new);
    HFileMetaSerde.setStreamContentDiscovery(JKeySerializer::byteStream);
}
Also used : SerializableDataInputStream(com.swirlds.common.io.SerializableDataInputStream) SerializableDataOutputStream(com.swirlds.common.io.SerializableDataOutputStream) DomainSerdes(com.hedera.services.state.serdes.DomainSerdes) JKeySerializer(com.hedera.services.legacy.core.jproto.JKeySerializer)

Aggregations

JKeySerializer (com.hedera.services.legacy.core.jproto.JKeySerializer)1 DomainSerdes (com.hedera.services.state.serdes.DomainSerdes)1 SerializableDataInputStream (com.swirlds.common.io.SerializableDataInputStream)1 SerializableDataOutputStream (com.swirlds.common.io.SerializableDataOutputStream)1