We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1003623 commit aa8bab5Copy full SHA for aa8bab5
types/Packet.d.ts
@@ -77,6 +77,6 @@ export interface Packet {
77
78
/**
79
* Packets for decoding can be created without reading them from a demuxer
80
- * Set parameters as required from the Packet object
+ * Set parameters as required from the Packet object, passing in a buffer and the required size in bytes
81
*/
82
-export function packet(options: { [key: string]: any, data: Buffer }): Packet
+export function packet(options: { [key: string]: any, data: Buffer, size: number }): Packet
0 commit comments