code: public static Pattern readPattern(final DataInput pStream, final Color fg, final Color bg) throws IOException {
          // Get the data (8 bytes)
          byte[] data = new byte[8];
          pStream.readFully(data);
          return new BitMapPattern(data, fg, bg);
      }
docs: TODO: Refactor, don't need both readPattern methods