(T value)
| 978 | } |
| 979 | |
| 980 | @Override |
| 981 | byte[] toBytes(T value) { |
| 982 | String encoded = Preconditions.checkNotNull( |
| 983 | marshaller.toAsciiString(value), "null marshaller.toAsciiString()"); |
| 984 | return encoded.getBytes(US_ASCII); |
| 985 | } |
| 986 | |
| 987 | @Override |
| 988 | T parseBytes(byte[] serialized) { |
nothing calls this directly
no test coverage detected