From f75f75519467ae07ad7880e8a75dbbeae19b78c9 Mon Sep 17 00:00:00 2001 From: TheMode Date: Sun, 8 Aug 2021 17:01:44 +0200 Subject: [PATCH] Make BinaryBuffer internal --- src/main/java/net/minestom/server/utils/binary/BinaryBuffer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/minestom/server/utils/binary/BinaryBuffer.java b/src/main/java/net/minestom/server/utils/binary/BinaryBuffer.java index f996c9252..daa639b3d 100644 --- a/src/main/java/net/minestom/server/utils/binary/BinaryBuffer.java +++ b/src/main/java/net/minestom/server/utils/binary/BinaryBuffer.java @@ -14,6 +14,7 @@ import java.nio.channels.WritableByteChannel; * Manages off-heap memory. * Not thread-safe. */ +@ApiStatus.Internal public final class BinaryBuffer { private ByteBuffer nioBuffer; // To become a `MemorySegment` once released private NBTReader nbtReader;