diff --git a/ClassicalSharp/Map/Formats/NbtFile.cs b/ClassicalSharp/Map/Formats/NbtFile.cs index 64a1f9394..caab4a8f6 100644 --- a/ClassicalSharp/Map/Formats/NbtFile.cs +++ b/ClassicalSharp/Map/Formats/NbtFile.cs @@ -41,8 +41,6 @@ namespace ClassicalSharp.Map { public void Write(NbtTagType v) { writer.Write((byte)v); } - public void WriteInt64(long v) { writer.Write(IPAddress.HostToNetworkOrder(v)); } - public void WriteInt32(int v) { writer.Write(IPAddress.HostToNetworkOrder(v)); } public void WriteInt16(short v) { writer.Write(IPAddress.HostToNetworkOrder(v)); } diff --git a/src/Client/Stream.h b/src/Client/Stream.h index daa77b4e8..ce4e54249 100644 --- a/src/Client/Stream.h +++ b/src/Client/Stream.h @@ -94,9 +94,4 @@ void Stream_WriteUInt32_LE(Stream* stream, UInt32 value); void Stream_WriteUInt32_BE(Stream* stream, UInt32 value); /* Writes a big endian signed 64 bit integer from the given stream. */ #define Stream_WriteInt32_BE(stream, value) Stream_WriteUInt32_BE(stream, (UInt32)value) - -/* Writes a big endian unsigned 64 bit integer from the given stream. */ -void Stream_WriteUInt64_BE(Stream* stream, UInt64 value); -/* Writes a big endian signed 64 bit integer from the given stream. */ -#define Stream_WriteInt64_BE(stream, value) Stream_WriteUInt64_BE(stream, (UInt64)value) #endif \ No newline at end of file