File size: 440 Bytes
391a73c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { concat, equal } from "../bytes/index.js";
export function assign(target, ...sources) {
    for (const source of sources) {
        if (!source) {
            continue;
        }
        for (const prop in source) {
            target[prop] = source[prop];
        }
    }
    return target;
}
export function combine(...buf) {
    return concat(buf);
}
export function isEqual(bytes1, bytes2) {
    return equal(bytes1, bytes2);
}