(byte[] bytes)
| 301 | } |
| 302 | |
| 303 | @Override |
| 304 | public Double buldFromBytes(byte[] bytes) { |
| 305 | if (bytes.length != getBytesAllocated()) { |
| 306 | throw new IllegalArgumentException( |
| 307 | "To build from byte array I need array of size: " |
| 308 | + getBytesAllocated()); |
| 309 | } |
| 310 | return ByteBuffer.wrap(bytes).getDouble(); |
| 311 | |
| 312 | } |
| 313 | |
| 314 | @Override |
| 315 | public byte[] getByteArray(Double value) { |
nothing calls this directly
no test coverage detected