Skip to content

Commit 119354f

Browse files
committed
buffer: DRY string encoding using StringBytes
This also templatizes the Buffer::*Slice functions, and the template function probably cannot be safely used outside of Node. However, it also SHOULD not be used outside of Node, so this is arguably a feature as well as a caveat.
1 parent 4e8cddd commit 119354f

2 files changed

Lines changed: 69 additions & 550 deletions

File tree

0 commit comments

Comments
 (0)