MCPcopy Create free account
hub / github.com/GRAnimated/MinecraftLCE / write

Method write

src/Minecraft.World/java/io/BufferedOutputStream.cpp:16–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16void BufferedOutputStream::write(unsigned int byte) {
17 m_buffer[m_size++] = byte;
18 if (m_size == m_buffer.m_length) {
19 flush();
20 }
21}
22
23void BufferedOutputStream::write(arrayWithLength<unsigned char> array) {
24 write(array, 0, array.m_length);

Callers 1

flushMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected