blob_to_buffer


Description:

public static void blob_to_buffer (Blob? old_blob, string? old_as_path, uint8[]? buffer, string? buffer_as_path, DiffOptions? diff_options, DiffFileCallback? file_cb, DiffBinaryCallback? binary_cb, DiffHunkCallback? hunk_cb, DiffLineCallback? line_cb) throws Error

Same as blobs but using a buffer.

Parameters:

old_blob

a Blob to diff from.

old_as_path

treat old_blob as if it had this filename, or null,

buffer

a buffer to diff to.

buffer_as_path

treat buffer as if it had this filename, or null,

diff_options

a DiffOptions, or null.

file_cb

a DiffFileCallback.

binary_cb

a DiffBinaryCallback.

hunk_cb

a DiffHunkCallback.

line_cb

a DiffLineCallback.

buffer_len

length of buffer.

user_data

callback user data.