mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-07-10 07:58:21 +00:00
Use BYTE Win Typedef instead of byte typedef from Minecraft.World
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user