(enc)
| 240 | } |
| 241 | static isBuffer(value) { return value instanceof NodeBuffer; } |
| 242 | static isEncoding(enc) { |
| 243 | return typeof enc === "string" && __normEnc(enc) !== undefined; |
| 244 | } |
| 245 | static byteLength(value, encoding) { |
| 246 | if (typeof value !== "string") { |
| 247 | if (ArrayBuffer.isView(value) || value instanceof ArrayBuffer || |
no test coverage detected