FILEWStream
- class FILEWStream
Methods
Reimplemented in
FILEWStream
, andNullWStream
.Called to write bytes to a
WStream
.Overloaded function.
Methods
- static FILEWStream.SizeOfPackedUInt(value: int) int
- FILEWStream.__init__(self: skia.FILEWStream, path: str) None
- FILEWStream.bytesWritten(self: skia.WStream) int
- FILEWStream.flush(self: skia.WStream) None
Reimplemented in
FILEWStream
, andNullWStream
.
- FILEWStream.fsync(self: skia.FILEWStream) None
- FILEWStream.isValid(self: skia.FILEWStream) bool
- FILEWStream.newline(self: skia.WStream) bool
- FILEWStream.write(self: skia.WStream, buffer: Buffer) bool
Called to write bytes to a
WStream
.Returns true on success
- Parameters:
buffer – the address of at least size bytes to be written to the stream
size – The number of bytes in buffer to write to the stream
- Returns:
true on success
- Implemented in
DynamicMemoryWStream
, FILEWStream
, andNullWStream
.
- FILEWStream.write16(self: skia.WStream, value: int) bool
- FILEWStream.write32(self: skia.WStream, value: int) bool
- FILEWStream.write8(self: skia.WStream, value: int) bool
- FILEWStream.writeBigDecAsText(self: skia.WStream, value: int, minDigits: int = 0) bool
- FILEWStream.writeBool(*args, **kwargs)
Overloaded function.
writeBool(self: skia.WStream, value: bool) -> bool
writeBool(self: skia.WStream, value: bool) -> bool
- FILEWStream.writeDecAsText(self: skia.WStream, value: int) bool
- FILEWStream.writeHexAsText(self: skia.WStream, value: int, minDigits: int = 0) bool
- FILEWStream.writePackedUInt(self: skia.WStream, value: int) bool
- FILEWStream.writeScalar(self: skia.WStream, value: float) bool
- FILEWStream.writeScalarAsText(self: skia.WStream, value: float) bool
- FILEWStream.writeStream(self: skia.WStream, input: skia.Stream, length: int) bool
- FILEWStream.writeText(self: skia.WStream, text: str) bool