Skip navigation links

Package net.openhft.chronicle.hash.serialization

The package contains interfaces for serializing objects and values between Java heap and Bytes or BytesStore.

See: Description

Package net.openhft.chronicle.hash.serialization Description

The package contains interfaces for serializing objects and values between Java heap and Bytes or BytesStore.

Reading methods in the interfaces in this package could use StreamingDataInput as the "input" parameter type and StreamingDataOutput as the "output" parameter type, but always use just Bytes and BytesStore, though this is "unsafe" because somebody could make a mistake and write into bytes supposed to be read-only or read some garbage bytes. This is done because of the poor support of StreamingDataInput/StreamingDataOutput in Chronicle Bytes and other projects. Byteable, BytesMarshallable, Chronicle Wire and others support only BytesStore or Bytes, but not read/write separated interfaces.

Skip navigation links

Copyright © 2016. All rights reserved.