Lines Matching refs:MemoryStream
18 UniqueStreamPtr MemoryStream::CreateForRead(const Buffer& memory) { in CreateForRead()
19 return UniqueStreamPtr(new MemoryStream(&memory, nullptr)); in CreateForRead()
22 UniqueStreamPtr MemoryStream::CreateForWrite(Buffer* memory) { in CreateForWrite()
23 return UniqueStreamPtr(new MemoryStream(nullptr, memory)); in CreateForWrite()
26 MemoryStream::MemoryStream(const Buffer* read_memory, Buffer* write_memory) in MemoryStream() function in puffin::MemoryStream
32 bool MemoryStream::GetSize(uint64_t* size) const { in GetSize()
38 bool MemoryStream::GetOffset(uint64_t* offset) const { in GetOffset()
43 bool MemoryStream::Seek(uint64_t offset) { in Seek()
52 bool MemoryStream::Read(void* buffer, size_t length) { in Read()
61 bool MemoryStream::Write(const void* buffer, size_t length) { in Write()
73 bool MemoryStream::Close() { in Close()