docs: public static String readStr31(final DataInput pStream) throws IOException {
          String text = readPascalString(pStream);
          int length = 31 - text.length();
          if (length < 0) {
              throw new IOException("String length exceeds maximum (31): " + text.length());
          }
          pStream.skipBytes(length);
          return text;
      }