MCPcopy Create free account
hub / github.com/clechasseur/pathcopycopy / ReadLong

Method ReadLong

PathCopyCopy/src/PluginPipelineDecoder.cpp:507–514  ·  view source on GitHub ↗

Reads an encoded integer from the elements stream. @return Integer value.

Source from the content-addressed store, hash-verified

505 // @return Integer value.
506 //
507 auto PipelineDecoder::EncodedElementsStream::ReadLong() -> long
508 {
509 // Encoded as four consecutive characters corresponding to the integer value.
510 std::wstringstream wss(ReadData(4));
511 long intValue = 0;
512 wss >> intValue;
513 return intValue;
514 }
515
516 //
517 // Reads an encoded string from the elements stream.

Callers 4

DecodeRegexElementMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected