code: public Geometry read( byte[] bytes ) throws ParseException {
          // possibly reuse the ByteArrayInStream?
          // don't throw IOExceptions, since we are not doing any I/O
          try {
              return read(new ByteArrayInStream(bytes));
          } catch (IOException ex) {
              throw new RuntimeException("Unexpected IOException caught: " + ex.getMessage());
          }
      }
docs: Reads a single {@link Geometry} in WKB format from a byte array.
  
  @param bytes the byte array to read from
  @return the geometry read
  @throws ParseException if the WKB is ill-formed