net.minestom.server.utils.binary.Writeable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of minestom-snapshots Show documentation
Show all versions of minestom-snapshots Show documentation
1.20.4 Lightweight Minecraft server
package net.minestom.server.utils.binary;
import org.jetbrains.annotations.NotNull;
/**
* Represents an element which can write to a {@link BinaryWriter}.
*/
public interface Writeable {
/**
* Writes into a {@link BinaryWriter}.
*
* @param writer the writer to write to
*/
void write(@NotNull BinaryWriter writer);
}