Class ByteWriter
public class ByteWriter
- Inheritance
-
ByteWriter
- Inherited Members
Methods
EnsureFreeSpace(ByteWriterHandle, uint)
Calls native method gst_byte_writer_ensure_free_space.
public static extern bool EnsureFreeSpace(ByteWriterHandle writer, uint size)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
size
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Fill(ByteWriterHandle, byte, uint)
Calls native method gst_byte_writer_fill.
public static extern bool Fill(ByteWriterHandle writer, byte value, uint size)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
value
byteTransfer ownership: None Nullable: False
size
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetRemaining(ByteWriterHandle)
Calls native method gst_byte_writer_get_remaining.
public static extern uint GetRemaining(ByteWriterHandle writer)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
Init(ByteWriterHandle)
Calls native method gst_byte_writer_init.
public static extern void Init(ByteWriterHandle writer)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
InitWithData(ByteWriterHandle, ref byte, uint, bool)
Calls native method gst_byte_writer_init_with_data.
public static extern void InitWithData(ByteWriterHandle writer, ref byte data, uint size, bool initialized)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
data
byteTransfer ownership: None Nullable: False
size
uintTransfer ownership: None Nullable: False
initialized
boolTransfer ownership: None Nullable: False
InitWithSize(ByteWriterHandle, uint, bool)
Calls native method gst_byte_writer_init_with_size.
public static extern void InitWithSize(ByteWriterHandle writer, uint size, bool @fixed)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
size
uintTransfer ownership: None Nullable: False
fixed
bool
New()
Calls native function gst_byte_writer_new.
public static extern ByteWriterOwnedHandle New()
Returns
- ByteWriterOwnedHandle
Transfer ownership: Full Nullable: False
NewWithData(ref byte, uint, bool)
Calls native function gst_byte_writer_new_with_data.
public static extern ByteWriterOwnedHandle NewWithData(ref byte data, uint size, bool initialized)
Parameters
data
byteTransfer ownership: None Nullable: False
size
uintTransfer ownership: None Nullable: False
initialized
boolTransfer ownership: None Nullable: False
Returns
- ByteWriterOwnedHandle
Transfer ownership: Full Nullable: False
NewWithSize(uint, bool)
Calls native function gst_byte_writer_new_with_size.
public static extern ByteWriterOwnedHandle NewWithSize(uint size, bool @fixed)
Parameters
Returns
- ByteWriterOwnedHandle
Transfer ownership: Full Nullable: False
PutBuffer(ByteWriterHandle, BufferHandle, nuint, long)
Calls native method gst_byte_writer_put_buffer.
public static extern bool PutBuffer(ByteWriterHandle writer, BufferHandle buffer, nuint offset, long size)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
buffer
BufferHandleTransfer ownership: None Nullable: False
offset
nuintTransfer ownership: None Nullable: False
size
longTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutData(ByteWriterHandle, ref byte, uint)
Calls native method gst_byte_writer_put_data.
public static extern bool PutData(ByteWriterHandle writer, ref byte data, uint size)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
data
byteTransfer ownership: None Nullable: False
size
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutFloat32Be(ByteWriterHandle, float)
Calls native method gst_byte_writer_put_float32_be.
public static extern bool PutFloat32Be(ByteWriterHandle writer, float val)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
val
floatTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutFloat32Le(ByteWriterHandle, float)
Calls native method gst_byte_writer_put_float32_le.
public static extern bool PutFloat32Le(ByteWriterHandle writer, float val)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
val
floatTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutFloat64Be(ByteWriterHandle, double)
Calls native method gst_byte_writer_put_float64_be.
public static extern bool PutFloat64Be(ByteWriterHandle writer, double val)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
val
doubleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutFloat64Le(ByteWriterHandle, double)
Calls native method gst_byte_writer_put_float64_le.
public static extern bool PutFloat64Le(ByteWriterHandle writer, double val)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
val
doubleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutInt16Be(ByteWriterHandle, short)
Calls native method gst_byte_writer_put_int16_be.
public static extern bool PutInt16Be(ByteWriterHandle writer, short val)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
val
shortTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutInt16Le(ByteWriterHandle, short)
Calls native method gst_byte_writer_put_int16_le.
public static extern bool PutInt16Le(ByteWriterHandle writer, short val)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
val
shortTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutInt24Be(ByteWriterHandle, int)
Calls native method gst_byte_writer_put_int24_be.
public static extern bool PutInt24Be(ByteWriterHandle writer, int val)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
val
intTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutInt24Le(ByteWriterHandle, int)
Calls native method gst_byte_writer_put_int24_le.
public static extern bool PutInt24Le(ByteWriterHandle writer, int val)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
val
intTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutInt32Be(ByteWriterHandle, int)
Calls native method gst_byte_writer_put_int32_be.
public static extern bool PutInt32Be(ByteWriterHandle writer, int val)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
val
intTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutInt32Le(ByteWriterHandle, int)
Calls native method gst_byte_writer_put_int32_le.
public static extern bool PutInt32Le(ByteWriterHandle writer, int val)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
val
intTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutInt64Be(ByteWriterHandle, long)
Calls native method gst_byte_writer_put_int64_be.
public static extern bool PutInt64Be(ByteWriterHandle writer, long val)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
val
longTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutInt64Le(ByteWriterHandle, long)
Calls native method gst_byte_writer_put_int64_le.
public static extern bool PutInt64Le(ByteWriterHandle writer, long val)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
val
longTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutInt8(ByteWriterHandle, sbyte)
Calls native method gst_byte_writer_put_int8.
public static extern bool PutInt8(ByteWriterHandle writer, sbyte val)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
val
sbyteTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutStringUtf16(ByteWriterHandle, ref ushort)
Calls native method gst_byte_writer_put_string_utf16.
public static extern bool PutStringUtf16(ByteWriterHandle writer, ref ushort data)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
data
ushortTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutStringUtf32(ByteWriterHandle, ref uint)
Calls native method gst_byte_writer_put_string_utf32.
public static extern bool PutStringUtf32(ByteWriterHandle writer, ref uint data)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
data
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutStringUtf8(ByteWriterHandle, NonNullableUtf8StringHandle)
Calls native method gst_byte_writer_put_string_utf8.
public static extern bool PutStringUtf8(ByteWriterHandle writer, NonNullableUtf8StringHandle data)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
data
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutUint16Be(ByteWriterHandle, ushort)
Calls native method gst_byte_writer_put_uint16_be.
public static extern bool PutUint16Be(ByteWriterHandle writer, ushort val)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
val
ushortTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutUint16Le(ByteWriterHandle, ushort)
Calls native method gst_byte_writer_put_uint16_le.
public static extern bool PutUint16Le(ByteWriterHandle writer, ushort val)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
val
ushortTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutUint24Be(ByteWriterHandle, uint)
Calls native method gst_byte_writer_put_uint24_be.
public static extern bool PutUint24Be(ByteWriterHandle writer, uint val)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
val
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutUint24Le(ByteWriterHandle, uint)
Calls native method gst_byte_writer_put_uint24_le.
public static extern bool PutUint24Le(ByteWriterHandle writer, uint val)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
val
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutUint32Be(ByteWriterHandle, uint)
Calls native method gst_byte_writer_put_uint32_be.
public static extern bool PutUint32Be(ByteWriterHandle writer, uint val)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
val
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutUint32Le(ByteWriterHandle, uint)
Calls native method gst_byte_writer_put_uint32_le.
public static extern bool PutUint32Le(ByteWriterHandle writer, uint val)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
val
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutUint64Be(ByteWriterHandle, ulong)
Calls native method gst_byte_writer_put_uint64_be.
public static extern bool PutUint64Be(ByteWriterHandle writer, ulong val)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
val
ulongTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutUint64Le(ByteWriterHandle, ulong)
Calls native method gst_byte_writer_put_uint64_le.
public static extern bool PutUint64Le(ByteWriterHandle writer, ulong val)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
val
ulongTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
PutUint8(ByteWriterHandle, byte)
Calls native method gst_byte_writer_put_uint8.
public static extern bool PutUint8(ByteWriterHandle writer, byte val)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
val
byteTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Reset(ByteWriterHandle)
Calls native method gst_byte_writer_reset.
public static extern void Reset(ByteWriterHandle writer)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
ResetAndGetBuffer(ByteWriterHandle)
Calls native method gst_byte_writer_reset_and_get_buffer.
public static extern BufferOwnedHandle ResetAndGetBuffer(ByteWriterHandle writer)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
Returns
- BufferOwnedHandle
Transfer ownership: Full Nullable: False
ResetAndGetData(ByteWriterHandle)
Calls native method gst_byte_writer_reset_and_get_data.
public static extern byte[] ResetAndGetData(ByteWriterHandle writer)
Parameters
writer
ByteWriterHandleTransfer ownership: None Nullable: False
Returns
- byte[]
Transfer ownership: Full Nullable: False