MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / BodyReader

Method BodyReader

3ds/source/transfer.cpp:212–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210 struct BodyReader : TransferProto::ByteReader {
211 FSStream input;
212 explicit BodyReader(const std::u16string& path, u64 startOffset) : input(Archive::sdmc(), path, FS_OPEN_READ)
213 {
214 if (input.good()) {
215 input.offset((u32)startOffset);
216 }
217 }
218 bool good() { return input.good(); }
219 ~BodyReader() override
220 {

Callers

nothing calls this directly

Calls 2

goodMethod · 0.45
offsetMethod · 0.45

Tested by

no test coverage detected