开发中心
图像帮助类。
解码一个JPEG或PNG文件。
void easyar_ImageHelper_decode(easyar_Buffer * buffer, easyar_OptionalOfImage * Return)
static std::optional<std::shared_ptr<Image>> decode(std::shared_ptr<Buffer> buffer)
public static @Nullable Image decode(@Nonnull Buffer buffer)
companion object fun decode(buffer: Buffer): Image?
+ (easyar_Image *)decode:(easyar_Buffer *)buffer
public static func decode(_ buffer: Buffer) -> Image?
public static Optional<Image> decode(Buffer buffer)