mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
MapInfo: Fix Data property
This commit is contained in:
parent
0647ebb0c7
commit
8391bb849a
1 changed files with 2 additions and 2 deletions
|
@ -27,14 +27,14 @@ namespace Gst {
|
||||||
|
|
||||||
partial struct MapInfo
|
partial struct MapInfo
|
||||||
{
|
{
|
||||||
byte[] Data {
|
public byte[] Data {
|
||||||
get {
|
get {
|
||||||
byte[] data = new byte[Size];
|
byte[] data = new byte[Size];
|
||||||
Marshal.Copy (_data, data, 0, (int)Size);
|
Marshal.Copy (_data, data, 0, (int)Size);
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
set {
|
set {
|
||||||
Marshal.Copy (Data, 0, _data, Data.Length);
|
Marshal.Copy (value, 0, _data, Data.Length);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue