(Float value)
| 31 | } |
| 32 | |
| 33 | public byte[] getByteArray(Float value) { |
| 34 | int byteAllocated = getBytesAllocated(); |
| 35 | ByteBuffer buff = ByteBuffer.allocate(byteAllocated); |
| 36 | buff.putFloat(value); |
| 37 | return buff.array(); |
| 38 | } |
| 39 | |
| 40 | public int getBytesAllocated() { |
| 41 | return Float.SIZE >> 3; |
nothing calls this directly
no test coverage detected