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

@@ -54,14 +54,14 @@ FileOutputStream::~FileOutputStream()
CloseHandle( m_fileHandle );
}
//Writes the specified byte to this file output stream. Implements the write method of OutputStream.
//Writes the specified BYTE to this file output stream. Implements the write method of OutputStream.
//Parameters:
//b - the byte to be written.
//b - the BYTE to be written.
void FileOutputStream::write(unsigned int b)
{
DWORD numberOfBytesWritten;
byte value = static_cast<byte>(b);
BYTE value = static_cast<BYTE>(b);
BOOL result = WriteFile(
m_fileHandle, // handle to file
@@ -81,7 +81,7 @@ void FileOutputStream::write(unsigned int b)
}
}
//Writes b.length bytes from the specified byte array to this file output stream.
//Writes b.length bytes from the specified BYTE array to this file output stream.
//Parameters:
//b - the data.
void FileOutputStream::write(byteArray b)
@@ -106,7 +106,7 @@ void FileOutputStream::write(byteArray b)
}
}
//Writes len bytes from the specified byte array starting at offset off to this file output stream.
//Writes len bytes from the specified BYTE array starting at offset off to this file output stream.
//Parameters:
//b - the data.
//off - the start offset in the data.