Unnamed
public text v1 · immutable template <class T>
void Write(T val)
{
if((u64)_endOfBuffer + sizeof(T) > (u64)_endOfBuffer + capacity)
Expand(PACKET_EXPAND);
memcpy(_endOfBuffer, &val, sizeof(T));
_endOfBuffer += sizeof(T);
size += sizeof(T);
}