Method AsBytes NamespaceAvroSharp.Generic AssemblyAvroSharp.dll AsBytes() Gets the bytes (not a copy). public byte[] AsBytes() Returns byte[] Exceptions InvalidOperationException The value is not bytes.