MCPcopy Create free account
hub / github.com/DFHack/dfhack / byte_size

Method byte_size

library/include/DataIdentity.h:378–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376 {}
377
378 size_t byte_size() const { return getItemType()->byte_size()*size; }
379
380 const std::string getFullName(const type_identity *item) const;
381 int getSize() const { return size; }

Callers 15

lua_insert2Method · 0.80
meta_union_nextFunction · 0.80
find_primitive_fieldFunction · 0.80
meta_bitfield_indexFunction · 0.80
meta_bitfield_newindexFunction · 0.80
enum_identityMethod · 0.80
meta_sizeofFunction · 0.80
meta_displaceFunction · 0.80
meta_newFunction · 0.80
meta_enum_attr_indexFunction · 0.80
item_pointerMethod · 0.80

Calls 1

getItemTypeFunction · 0.85

Tested by

no test coverage detected