Skip to content

Commit 9577dae

Browse files
Minor cleanup
1 parent 66156f7 commit 9577dae

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Security/cfutilities.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,20 @@ export function makeCFData(data: ArrayBufferPointer, size: size_t): PLData;
2828
*/
2929
export function makeCFData<T>(
3030
Type: {
31+
/**
32+
* Get buffer pointer.
33+
*
34+
* @param value Generic value.
35+
* @returns Buffer pointer.
36+
*/
3137
data(value: T): ArrayBufferPointer;
38+
39+
/**
40+
* Get buffer size.
41+
*
42+
* @param value Generic value.
43+
* @returns Buffer size.
44+
*/
3245
size(value: T): size_t;
3346
},
3447
source: T,

0 commit comments

Comments
 (0)