Image Constructor (Byte[])

SFML.Net

Image Constructor (Byte)
Construct the image from a file in memory

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public Image(
	byte[] bytes
)
Public Sub New ( 
	bytes As Byte()
)
public:
Image(
	array<unsigned char>^ bytes
)
new : 
        bytes : byte[] -> Image

Parameters

bytes
Type: SystemByte
Byte array containing the file contents
Exceptions
ExceptionCondition
LoadingFailedException
See Also