/*
 * Decompiled with CFR 0.152.
 */
package com.evilco.mc.nbt.tag;

import com.evilco.mc.nbt.stream.NbtOutputStream;
import com.evilco.mc.nbt.tag.ITagContainer;
import java.io.IOException;
import java.nio.charset.Charset;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;

public interface ITag {
    public static final Charset STRING_CHARSET = Charset.forName("UTF-8");

    public String getName();

    public byte[] getNameBytes();

    public ITagContainer getParent();

    public byte getTagID();

    public void setName(@Nonnull String var1);

    public void setParent(@Nullable ITagContainer var1);

    public void write(NbtOutputStream var1, boolean var2) throws IOException;
}
