MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / right

Method right

source/core/StarByteArray.cpp:135–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135ByteArray ByteArray::right(size_t s) const {
136 if (s > m_size)
137 s = 0;
138 else
139 s = m_size - s;
140
141 return sub(s, m_size);
142}
143
144void ByteArray::trimLeft(size_t s) {
145 if (s >= m_size) {

Callers 15

liquidInteractionMethod · 0.80
handleIncomingPacketsMethod · 0.80
destroyMethod · 0.80
environmentLightMethod · 0.80
handleIncomingPacketsMethod · 0.80
resetResourceMethod · 0.80
unbanIpMethod · 0.80
changeStateMethod · 0.80
updateTitleMethod · 0.80
HostAddressMethod · 0.80
lookupMethod · 0.80
lookupWithPortMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected