2018-08-10 17:09:13 +00:00
|
|
|
#Topic WStream
|
|
|
|
#Alias WStream_Reference ##
|
|
|
|
|
|
|
|
#Class SkWStream
|
|
|
|
|
2018-10-08 18:57:48 +00:00
|
|
|
#Code
|
2018-08-10 17:09:13 +00:00
|
|
|
#Populate
|
|
|
|
##
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#Method virtual ~SkWStream()
|
2018-10-08 18:57:48 +00:00
|
|
|
#In Constructors
|
2018-08-10 17:09:13 +00:00
|
|
|
#Line # incomplete ##
|
|
|
|
|
|
|
|
#Example
|
|
|
|
// incomplete
|
|
|
|
##
|
|
|
|
|
|
|
|
#SeeAlso incomplete
|
|
|
|
|
|
|
|
#Method ##
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#Method SkWStream()
|
2018-10-08 18:57:48 +00:00
|
|
|
#In Constructors
|
2018-08-10 17:09:13 +00:00
|
|
|
#Line # incomplete ##
|
|
|
|
|
|
|
|
#Return incomplete ##
|
|
|
|
|
|
|
|
#Example
|
|
|
|
// incomplete
|
|
|
|
##
|
|
|
|
|
|
|
|
#SeeAlso incomplete
|
|
|
|
|
|
|
|
#Method ##
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#Method virtual bool write(const void* buffer, size_t size) = 0
|
|
|
|
#In incomplete
|
|
|
|
#Line # incomplete ##
|
|
|
|
|
|
|
|
Called to write bytes to a SkWStream. Returns true on success
|
|
|
|
|
|
|
|
#Param buffer the address of at least size bytes to be written to the stream
|
|
|
|
##
|
|
|
|
#Param size number of bytes in buffer to write to the stream
|
|
|
|
##
|
|
|
|
|
|
|
|
#Return true on success
|
|
|
|
##
|
|
|
|
|
|
|
|
#Example
|
|
|
|
// incomplete
|
|
|
|
##
|
|
|
|
|
|
|
|
#SeeAlso incomplete
|
|
|
|
|
|
|
|
#Method ##
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#Method virtual void flush()
|
|
|
|
#In incomplete
|
|
|
|
#Line # incomplete ##
|
|
|
|
|
|
|
|
#Example
|
|
|
|
// incomplete
|
|
|
|
##
|
|
|
|
|
|
|
|
#SeeAlso incomplete
|
|
|
|
|
|
|
|
#Method ##
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#Method virtual size_t bytesWritten() const = 0
|
|
|
|
#In incomplete
|
|
|
|
#Line # incomplete ##
|
|
|
|
|
|
|
|
#Return incomplete ##
|
|
|
|
|
|
|
|
#Example
|
|
|
|
// incomplete
|
|
|
|
##
|
|
|
|
|
|
|
|
#SeeAlso incomplete
|
|
|
|
|
|
|
|
#Method ##
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#Method bool write8(U8CPU value)
|
|
|
|
#In incomplete
|
|
|
|
#Line # incomplete ##
|
|
|
|
|
|
|
|
Helpers.
|
|
|
|
|
|
|
|
#Param value incomplete ##
|
|
|
|
|
|
|
|
#Return incomplete ##
|
|
|
|
|
|
|
|
#Example
|
|
|
|
// incomplete
|
|
|
|
##
|
|
|
|
|
|
|
|
#SeeAlso incomplete
|
|
|
|
|
|
|
|
#Method ##
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#Method bool write16(U16CPU value)
|
|
|
|
#In incomplete
|
|
|
|
#Line # incomplete ##
|
|
|
|
|
|
|
|
#Param value incomplete ##
|
|
|
|
|
|
|
|
#Return incomplete ##
|
|
|
|
|
|
|
|
#Example
|
|
|
|
// incomplete
|
|
|
|
##
|
|
|
|
|
|
|
|
#SeeAlso incomplete
|
|
|
|
|
|
|
|
#Method ##
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#Method bool write32(uint32_t v)
|
|
|
|
#In incomplete
|
|
|
|
#Line # incomplete ##
|
|
|
|
|
|
|
|
#Param v incomplete ##
|
|
|
|
|
|
|
|
#Return incomplete ##
|
|
|
|
|
|
|
|
#Example
|
|
|
|
// incomplete
|
|
|
|
##
|
|
|
|
|
|
|
|
#SeeAlso incomplete
|
|
|
|
|
|
|
|
#Method ##
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#Method bool writeText(const char text[])
|
|
|
|
#In incomplete
|
|
|
|
#Line # incomplete ##
|
|
|
|
|
|
|
|
#Param text incomplete ##
|
|
|
|
|
|
|
|
#Return incomplete ##
|
|
|
|
|
|
|
|
#Example
|
|
|
|
// incomplete
|
|
|
|
##
|
|
|
|
|
|
|
|
#SeeAlso incomplete
|
|
|
|
|
|
|
|
#Method ##
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#Method bool newline()
|
|
|
|
#In incomplete
|
|
|
|
#Line # incomplete ##
|
|
|
|
|
|
|
|
#Return incomplete ##
|
|
|
|
|
|
|
|
#Example
|
|
|
|
// incomplete
|
|
|
|
##
|
|
|
|
|
|
|
|
#SeeAlso incomplete
|
|
|
|
|
|
|
|
#Method ##
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#Method bool writeDecAsText(int32_t)
|
|
|
|
#In incomplete
|
|
|
|
#Line # incomplete ##
|
|
|
|
|
|
|
|
#Param t incomplete ##
|
|
|
|
|
|
|
|
#Return incomplete ##
|
|
|
|
|
|
|
|
#Example
|
|
|
|
// incomplete
|
|
|
|
##
|
|
|
|
|
|
|
|
#SeeAlso incomplete
|
|
|
|
|
|
|
|
#Method ##
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#Method bool writeBigDecAsText(int64_t, int minDigits = 0)
|
|
|
|
#In incomplete
|
|
|
|
#Line # incomplete ##
|
|
|
|
|
|
|
|
#Param t incomplete ##
|
|
|
|
#Param minDigits incomplete ##
|
|
|
|
|
|
|
|
#Return incomplete ##
|
|
|
|
|
|
|
|
#Example
|
|
|
|
// incomplete
|
|
|
|
##
|
|
|
|
|
|
|
|
#SeeAlso incomplete
|
|
|
|
|
|
|
|
#Method ##
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#Method bool writeHexAsText(uint32_t, int minDigits = 0)
|
|
|
|
#In incomplete
|
|
|
|
#Line # incomplete ##
|
|
|
|
|
|
|
|
#Param t incomplete ##
|
|
|
|
#Param minDigits incomplete ##
|
|
|
|
|
|
|
|
#Return incomplete ##
|
|
|
|
|
|
|
|
#Example
|
|
|
|
// incomplete
|
|
|
|
##
|
|
|
|
|
|
|
|
#SeeAlso incomplete
|
|
|
|
|
|
|
|
#Method ##
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#Method bool writeScalarAsText(SkScalar)
|
|
|
|
#In incomplete
|
|
|
|
#Line # incomplete ##
|
|
|
|
|
|
|
|
#Param SkScalar incomplete ##
|
|
|
|
|
|
|
|
#Return incomplete ##
|
|
|
|
|
|
|
|
#Example
|
|
|
|
// incomplete
|
|
|
|
##
|
|
|
|
|
|
|
|
#SeeAlso incomplete
|
|
|
|
|
|
|
|
#Method ##
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#Method bool writeBool(bool v)
|
|
|
|
#In incomplete
|
|
|
|
#Line # incomplete ##
|
|
|
|
|
|
|
|
#Param v incomplete ##
|
|
|
|
|
|
|
|
#Return incomplete ##
|
|
|
|
|
|
|
|
#Example
|
|
|
|
// incomplete
|
|
|
|
##
|
|
|
|
|
|
|
|
#SeeAlso incomplete
|
|
|
|
|
|
|
|
#Method ##
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#Method bool writeScalar(SkScalar)
|
|
|
|
#In incomplete
|
|
|
|
#Line # incomplete ##
|
|
|
|
|
|
|
|
#Param SkScalar incomplete ##
|
|
|
|
|
|
|
|
#Return incomplete ##
|
|
|
|
|
|
|
|
#Example
|
|
|
|
// incomplete
|
|
|
|
##
|
|
|
|
|
|
|
|
#SeeAlso incomplete
|
|
|
|
|
|
|
|
#Method ##
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#Method bool writePackedUInt(size_t)
|
|
|
|
#In incomplete
|
|
|
|
#Line # incomplete ##
|
|
|
|
|
|
|
|
#Param t incomplete ##
|
|
|
|
|
|
|
|
#Return incomplete ##
|
|
|
|
|
|
|
|
#Example
|
|
|
|
// incomplete
|
|
|
|
##
|
|
|
|
|
|
|
|
#SeeAlso incomplete
|
|
|
|
|
|
|
|
#Method ##
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#Method bool writeStream(SkStream* input, size_t length)
|
|
|
|
#In incomplete
|
|
|
|
#Line # incomplete ##
|
|
|
|
|
|
|
|
#Param input incomplete ##
|
|
|
|
#Param length incomplete ##
|
|
|
|
|
|
|
|
#Return incomplete ##
|
|
|
|
|
|
|
|
#Example
|
|
|
|
// incomplete
|
|
|
|
##
|
|
|
|
|
|
|
|
#SeeAlso incomplete
|
|
|
|
|
|
|
|
#Method ##
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#Method static int SizeOfPackedUInt(size_t value)
|
|
|
|
#In incomplete
|
|
|
|
#Line # incomplete ##
|
|
|
|
|
|
|
|
This returns the number of bytes in the stream required to store
|
|
|
|
'value'.
|
|
|
|
|
|
|
|
#Param value incomplete ##
|
|
|
|
|
|
|
|
#Return incomplete ##
|
|
|
|
|
|
|
|
#Example
|
|
|
|
// incomplete
|
|
|
|
##
|
|
|
|
|
|
|
|
#SeeAlso incomplete
|
|
|
|
|
|
|
|
#Method ##
|
|
|
|
|
|
|
|
#Class SkWStream ##
|
|
|
|
|
|
|
|
#Topic WStream ##
|