Example #1
0
        private static byte[] GetDataSafe(this Buffer buffer)
        {
            var data = buffer.GetSerializationData();

            return(data != null ? data.Content : buffer.GetData <byte>());
        }