code: private void writeStringTagPayload(StringTag tag) throws IOException {
          byte[] bytes = tag.getValue().getBytes(NBTConstants.CHARSET.name());
          os.writeShort(bytes.length);
          os.write(bytes);
      }
docs: Writes a {@code TAG_String} tag.
  
  @param tag The tag.
  @throws java.io.IOException if an I/O error occurs.