skia2/docs/SkDynamicMemoryWStream_Reference.bmh
Cary Clark d2ca79c271 new batch of docs
new batch of docs

Docs-Preview: https://skia.org/?cl=141244
Bug: skia:
Change-Id: I5a285778baaee2734495374adeb7359d524e47e3
Reviewed-on: https://skia-review.googlesource.com/141244
Reviewed-by: Cary Clark <caryclark@skia.org>
Commit-Queue: Cary Clark <caryclark@skia.org>
Auto-Submit: Cary Clark <caryclark@skia.org>
2018-08-10 17:44:46 +00:00

253 lines
4.1 KiB
Plaintext

#Topic DynamicMemoryWStream
#Alias DynamicMemoryWStream_Reference ##
#Class SkDynamicMemoryWStream
#Subtopic Overview
#Populate
##
#Subtopic Constructor
#Populate
##
#Subtopic Member_Function
#Populate
##
# ------------------------------------------------------------------------------
#Method SkDynamicMemoryWStream()
#In Constructor
#Line # incomplete ##
#Return incomplete ##
#Example
// incomplete
##
#SeeAlso incomplete
#Method ##
# ------------------------------------------------------------------------------
#Method ~SkDynamicMemoryWStream() override
#In Constructor
#Line # incomplete ##
#Example
// incomplete
##
#SeeAlso incomplete
#Method ##
# ------------------------------------------------------------------------------
#Method bool write(const void* buffer, size_t size) override
#In incomplete
#Line # incomplete ##
#Param buffer incomplete ##
#Param size incomplete ##
#Return incomplete ##
#Example
// incomplete
##
#SeeAlso incomplete
#Method ##
# ------------------------------------------------------------------------------
#Method size_t bytesWritten() const override
#In incomplete
#Line # incomplete ##
#Return incomplete ##
#Example
// incomplete
##
#SeeAlso incomplete
#Method ##
# ------------------------------------------------------------------------------
#Method bool read(void* buffer, size_t offset, size_t size)
#In incomplete
#Line # incomplete ##
#Param buffer incomplete ##
#Param offset incomplete ##
#Param size incomplete ##
#Return incomplete ##
#Example
// incomplete
##
#SeeAlso incomplete
#Method ##
# ------------------------------------------------------------------------------
#Method void copyTo(void* dst) const
#In incomplete
#Line # incomplete ##
Copies bytes read to dst.
#Param dst incomplete ##
#Example
// incomplete
##
#SeeAlso incomplete
#Method ##
# ------------------------------------------------------------------------------
#Method bool writeToStream(SkWStream* dst) const
#In incomplete
#Line # incomplete ##
#Param dst incomplete ##
#Return incomplete ##
#Example
// incomplete
##
#SeeAlso incomplete
#Method ##
# ------------------------------------------------------------------------------
#Method void copyToAndReset(void* dst)
#In incomplete
#Line # incomplete ##
Copies bytes read to dst, and resets stream to start.
Internally, frees memory as it is copied, reducing total memory
use on large streams.
#Param dst incomplete ##
#Example
// incomplete
##
#SeeAlso incomplete
#Method ##
# ------------------------------------------------------------------------------
#Method bool writeToAndReset(SkWStream* dst)
#In incomplete
#Line # incomplete ##
Writes bytes read to dst, and resets stream to start.
Internally, frees memory as it is copied, reducing total memory
use on large streams.
Stream is reset: data memory is released and stream length is set to zero;
regardless of whether the write was successful.
#Param dst incomplete ##
#Return incomplete ##
#Example
// incomplete
##
#SeeAlso incomplete
#Method ##
# ------------------------------------------------------------------------------
#Method sk_sp<SkData> detachAsData()
#In incomplete
#Line # incomplete ##
Return the contents as SkData, and then reset the stream.
#Return incomplete ##
#Example
// incomplete
##
#SeeAlso incomplete
#Method ##
# ------------------------------------------------------------------------------
#Method std::unique_ptr<SkStreamAsset> detachAsStream()
#In incomplete
#Line # incomplete ##
Reset, returning a reader stream with the current content.
#Return incomplete ##
#Example
// incomplete
##
#SeeAlso incomplete
#Method ##
# ------------------------------------------------------------------------------
#Method void reset()
#In incomplete
#Line # incomplete ##
Reset the stream to its original, empty, state.
#Example
// incomplete
##
#SeeAlso incomplete
#Method ##
# ------------------------------------------------------------------------------
#Method void padToAlign4()
#In incomplete
#Line # incomplete ##
#Example
// incomplete
##
#SeeAlso incomplete
#Method ##
#Class SkDynamicMemoryWStream ##
#Topic DynamicMemoryWStream ##