net.minestom.server.utils.binary.Readable 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 read from a {@link BinaryReader}.
*/
public interface Readable {
/**
* Reads from a {@link BinaryReader}.
*
* @param reader the reader to read from
*/
void read(@NotNull BinaryReader reader);
}