code: public static Pattern readPattern(final DataInput pStream) throws IOException {
          // Get the data (8 bytes)
          byte[] data = new byte[8];
          pStream.readFully(data);
          return new BitMapPattern(data);
      }
docs: Reads a {@link Pattern pattern} from the given stream.
  
  @param pStream the input stream
  @return the pattern read
  
  @throws java.io.IOException if an I/O error occurs during read