This method of the PermissionDataSet Class encodes the contents of the set of permissions and sends encoded data to the specified stream. The tag parameter specifies the type of encoding that should be used.
public boolean encode(String tag, OutputStream out);
Returns true if the encoding process is completed successfully; otherwise, returns false.
tag | The encoding type identifier. |
out | The stream to write the encoded data to. |