MCPcopy Create free account
hub / github.com/cuberite/cuberite / ReadBEInt

Method ReadBEInt

src/ByteBuffer.cpp:337–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335
336
337bool cByteBuffer::ReadBEInt(int & a_Value)
338{
339 CHECK_THREAD;
340 CheckValid();
341 NEEDBYTES(4);
342 ReadBuf(&a_Value, 4);
343 a_Value = ntohl(a_Value);
344 return true;
345}
346
347
348

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected