src: move BE/LE buffer conversion to StringSlice()
Move the big endian to little endian conversion logic for UCS2 input from src/string_bytes.cc to src/node_buffer.cc; StringSlice() is the only function that actually needs it and with this commit, a second copy is avoided on big endian architectures.
parent
56fde66c
Please register or sign in to comment