I don't think the serialization methods in HyperLogLog need to throw checked exceptions.  Avoiding this by simply using the tools in ByteBuffer.