streams

package
v0.0.0-...-ae6dbc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const GUIDIBuffer string = "905a0fe0-bc53-11df-8c49-001e4fc686da"
View Source
const GUIDIDataReader string = "e2b50029-b4c1-4314-a4b8-fb813a2f275e"
View Source
const GUIDIDataWriter string = "64b89265-d341-4922-b38a-dd4af8808c4e"
View Source
const GUIDiBufferFactory string = "71af914d-c10f-484b-bc50-14bc623b3a27"
View Source
const GUIDiDataReaderStatics string = "11fcbfc8-f93a-471b-b121-f379e349313c"
View Source
const SignatureBuffer string = "rc(Windows.Storage.Streams.Buffer;{905a0fe0-bc53-11df-8c49-001e4fc686da})"
View Source
const SignatureDataReader string = "rc(Windows.Storage.Streams.DataReader;{e2b50029-b4c1-4314-a4b8-fb813a2f275e})"
View Source
const SignatureDataWriter string = "rc(Windows.Storage.Streams.DataWriter;{64b89265-d341-4922-b38a-dd4af8808c4e})"
View Source
const SignatureIBuffer string = "{905a0fe0-bc53-11df-8c49-001e4fc686da}"
View Source
const SignatureIDataReader string = "{e2b50029-b4c1-4314-a4b8-fb813a2f275e}"
View Source
const SignatureIDataWriter string = "{64b89265-d341-4922-b38a-dd4af8808c4e}"
View Source
const SignatureiBufferFactory string = "{71af914d-c10f-484b-bc50-14bc623b3a27}"
View Source
const SignatureiDataReaderStatics string = "{11fcbfc8-f93a-471b-b121-f379e349313c}"

Variables

This section is empty.

Functions

This section is empty.

Types

type Buffer

type Buffer struct {
	ole.IUnknown
}

func Create

func Create(capacity uint32) (*Buffer, error)

func (*Buffer) GetCapacity

func (impl *Buffer) GetCapacity() (uint32, error)

func (*Buffer) GetLength

func (impl *Buffer) GetLength() (uint32, error)

func (*Buffer) SetLength

func (impl *Buffer) SetLength(value uint32) error

type DataReader

type DataReader struct {
	ole.IUnknown
}

func FromBuffer

func FromBuffer(buffer *IBuffer) (*DataReader, error)

func (*DataReader) ReadBytes

func (impl *DataReader) ReadBytes(valueSize uint32) ([]uint8, error)

type DataWriter

type DataWriter struct {
	ole.IUnknown
}

func NewDataWriter

func NewDataWriter() (*DataWriter, error)

func (*DataWriter) Close

func (impl *DataWriter) Close() error

func (*DataWriter) DetachBuffer

func (impl *DataWriter) DetachBuffer() (*IBuffer, error)

func (*DataWriter) WriteBytes

func (impl *DataWriter) WriteBytes(valueSize uint32, value []uint8) error

type IBuffer

type IBuffer struct {
	ole.IInspectable
}

func (*IBuffer) GetCapacity

func (v *IBuffer) GetCapacity() (uint32, error)

func (*IBuffer) GetLength

func (v *IBuffer) GetLength() (uint32, error)

func (*IBuffer) SetLength

func (v *IBuffer) SetLength(value uint32) error

func (*IBuffer) VTable

func (v *IBuffer) VTable() *IBufferVtbl

type IBufferVtbl

type IBufferVtbl struct {
	ole.IInspectableVtbl

	GetCapacity uintptr
	GetLength   uintptr
	SetLength   uintptr
}

type IDataReader

type IDataReader struct {
	ole.IInspectable
}

func (*IDataReader) ReadBytes

func (v *IDataReader) ReadBytes(valueSize uint32) ([]uint8, error)

func (*IDataReader) VTable

func (v *IDataReader) VTable() *IDataReaderVtbl

type IDataReaderVtbl

type IDataReaderVtbl struct {
	ole.IInspectableVtbl

	GetUnconsumedBufferLength uintptr
	GetUnicodeEncoding        uintptr
	SetUnicodeEncoding        uintptr
	GetByteOrder              uintptr
	SetByteOrder              uintptr
	GetInputStreamOptions     uintptr
	SetInputStreamOptions     uintptr
	ReadByte                  uintptr
	ReadBytes                 uintptr
	ReadBuffer                uintptr
	ReadBoolean               uintptr
	ReadGuid                  uintptr
	ReadInt16                 uintptr
	ReadInt32                 uintptr
	ReadInt64                 uintptr
	ReadUInt16                uintptr
	ReadUInt32                uintptr
	ReadUInt64                uintptr
	ReadSingle                uintptr
	ReadDouble                uintptr
	ReadString                uintptr
	ReadDateTime              uintptr
	ReadTimeSpan              uintptr
	LoadAsync                 uintptr
	DetachBuffer              uintptr
	DetachStream              uintptr
}

type IDataWriter

type IDataWriter struct {
	ole.IInspectable
}

func (*IDataWriter) DetachBuffer

func (v *IDataWriter) DetachBuffer() (*IBuffer, error)

func (*IDataWriter) VTable

func (v *IDataWriter) VTable() *IDataWriterVtbl

func (*IDataWriter) WriteBytes

func (v *IDataWriter) WriteBytes(valueSize uint32, value []uint8) error

type IDataWriterVtbl

type IDataWriterVtbl struct {
	ole.IInspectableVtbl

	GetUnstoredBufferLength uintptr
	GetUnicodeEncoding      uintptr
	SetUnicodeEncoding      uintptr
	GetByteOrder            uintptr
	SetByteOrder            uintptr
	WriteByte               uintptr
	WriteBytes              uintptr
	WriteBuffer             uintptr
	WriteBufferRange        uintptr
	WriteBoolean            uintptr
	WriteGuid               uintptr
	WriteInt16              uintptr
	WriteInt32              uintptr
	WriteInt64              uintptr
	WriteUInt16             uintptr
	WriteUInt32             uintptr
	WriteUInt64             uintptr
	WriteSingle             uintptr
	WriteDouble             uintptr
	WriteDateTime           uintptr
	WriteTimeSpan           uintptr
	WriteString             uintptr
	MeasureString           uintptr
	StoreAsync              uintptr
	FlushAsync              uintptr
	DetachBuffer            uintptr
	DetachStream            uintptr
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL