MCPcopy Create free account
hub / github.com/covscript/covscript / read

Function read

sources/instance/type_ext.cpp:861–867  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

859 }
860
861 string read(istream &in, const numeric &n)
862 {
863 string buff(n.as_integer(), '\0');
864 in->read(&buff[0], buff.size());
865 buff.resize(in->gcount());
866 return buff;
867 }
868
869 void init()
870 {

Callers 2

is_exeFunction · 0.85
can_executeFunction · 0.85

Calls 2

sizeMethod · 0.80
resizeMethod · 0.80

Tested by

no test coverage detected