### Question:
LocalTimeConverter implements BytesConverter<LocalTime> { @Override public LocalTime fromBytes(byte[] bytes) { return LocalTime.ofNanoOfDay(longConverter.fromBytes(bytes)); } LocalTimeConverter(BytesConverter<Long> longConverter); @Override LocalTime fromBytes(byte[] bytes); @Override byte[] toBytes(LocalTime value); static final BytesConverter<LocalTime> INSTANCE; }### Answer:
@Test public void testFromBytes() { assertEquals(LocalTime.of(11, 0, 2), LocalTimeConverter.INSTANCE.fromBytes(new byte[]{0, 0, 36, 4, -113, 36, 116, 0})); assertEquals(LocalTime.of(0, 0, 0), LocalTimeConverter.INSTANCE.fromBytes(new byte[]{0})); }