Class BinaryDtoAllocator
java.lang.Object
io.datarouter.bytes.binarydto.internal.BinaryDtoAllocator
public class BinaryDtoAllocator extends Object
Borrowed from Gson's UnsafeAllocator
Allows instantiation of BinaryDtos without a no-arg constructor. A no-arg constructor complicates the encouraged use
of final fields.
-
Constructor Summary
Constructors Constructor Description BinaryDtoAllocator() -
Method Summary
-
Constructor Details
-
BinaryDtoAllocator
public BinaryDtoAllocator()
-
-
Method Details
-
allocate
-