@Override
 public void read(InputStream inputStream) throws IOException {
   byte[] strLengthBytes = new byte[4];
   inputStream.read(strLengthBytes);
   int strLength = ByteUtils.byteToInt(strLengthBytes);
   byte[] strBytes = new byte[strLength];
   inputStream.read(strBytes);
   value = new String(strBytes);
 }