docs: public void writeBytes(String pString) throws IOException {
          int length = pString.length();
  
          for (int i = 0; i < length; i++) {
              file.write((byte) pString.charAt(i));
          }
      }