SKDynamicMemoryWStream

public final class SKDynamicMemoryWStream : SKWStream

A writeable, dynamically-sized, memory-based stream.

  • Undocumented

    Declaration

    Swift

    public init()
  • Returns the contents of this dynamic memory stream as a Data, this makes a copy of the underlying data

    Declaration

    Swift

    public func getData() -> SKData
  • Copies the content of the dynamic memory stream into the provided stream.

    Declaration

    Swift

    public func copy(to: SKWStream)

    Parameters

    to

    the target stream to write to