'Declaration<JetBrains.Annotations.NotNullAttribute()> Public Function FromBytes( _ ByVal bytes() As Byte _ ) As ValueResult(Of TValue)
'UsageDim instance As StreamLoader(Of TValue) Dim bytes() As Byte Dim value As ValueResult(Of TValue) value = instance.FromBytes(bytes)
[JetBrains.Annotations.NotNull()] public ValueResult<TValue> FromBytes( byte[] bytes )
[JetBrains.Annotations.NotNull()] public: ValueResult<TValue^>^ FromBytes( array<byte>^ bytes )
Parameters
- bytes
- The byte array to load the value from.
The value of this parameter cannot be
null(Nothingin Visual Basic).
Return Value
Returns value result with the value loaded.
This method never returns null (Nothing in Visual Basic).