(data: string)
| 73 | return this._encode(0xa0 + tag, data); |
| 74 | } |
| 75 | static encodePrintableString(data: string): Buffer { |
| 76 | return this._encode(0x13, Buffer.from(data)); |
| 77 | } |
| 78 | static encodeBitString(data: Buffer): Buffer { |
| 79 | // The first byte of the content is the number of unused bits at the end |
| 80 | const unusedBits = 0; // Assuming all bits are used |
no test coverage detected