@contentauth/c2pa-node
    Preparing search index...

    Type Alias ResourceAsset

    The return type of resourceToAsset. When the asset is a file, returns the number of bytes written. When the asset is a buffer, returns an object with the buffer and bytes written.

    type ResourceAsset = {
        buffer: Buffer;
        bytes_written: number;
    }
    Index

    Properties

    buffer: Buffer
    bytes_written: number