13 lines
255 B
TypeScript
13 lines
255 B
TypeScript
import type { EventInputType } from './constants'
|
|
|
|
export class BinaryInfo {
|
|
protocolVersion = 5
|
|
sequence = 0
|
|
events = [] as EventInputType[]
|
|
buffer: Buffer[] = []
|
|
|
|
constructor(options: Partial<BinaryInfo> = {}) {
|
|
Object.assign(this, options)
|
|
}
|
|
}
|