code: protected int fill (byte[] buffer, int offset, int count) throws KryoException {
  		if (inputStream == null) return -1;
  		try {
  			return inputStream.read(buffer, offset, count);
  		} catch (IOException ex) {
  			throw new KryoException(ex);
  		}
  	}
docs: Fills the buffer with more bytes. The default implementation reads from the {@link #getInputStream() InputStream}, if set.
  Can be overridden to fill the bytes from another source.
  @return -1 if there are no more bytes.