Use BYTE Win Typedef instead of byte typedef from Minecraft.World

This commit is contained in:
GabsPuNs
2026-05-10 21:03:03 -04:00
parent 20d395b88d
commit 3e7983ab3c
216 changed files with 798 additions and 800 deletions

View File

@@ -34,7 +34,7 @@ void BufferedOutputStream::close()
stream->close();
}
//Writes len bytes from the specified byte array starting at offset off to this buffered output stream.
//Writes len bytes from the specified BYTE array starting at offset off to this buffered output stream.
//Ordinarily this method stores bytes from the given array into this stream's buffer, flushing the buffer to the
//underlying output stream as needed. If the requested length is at least as large as this stream's buffer, however,
//then this method will flush the buffer and write the bytes directly to the underlying output stream.
@@ -72,14 +72,14 @@ void BufferedOutputStream::write(byteArray b)
write( b, 0, b.length );
}
//Writes the specified byte to this buffered output stream.
//Writes the specified BYTE to this buffered output stream.
//Overrides:
//write in class FilterOutputStream
//Parameters:
//b - the byte to be written.
//b - the BYTE to be written.
void BufferedOutputStream::write(unsigned int b)
{
buf[count++] = static_cast<byte>(b);
buf[count++] = static_cast<BYTE>(b);
if( count == buf.length )
{
flush();