What is purpose of Buffer class in Node?

Technology CommunityCategory: Node.jsWhat is purpose of Buffer class in Node?
VietMX Staff asked 4 years ago

Buffer class is a global class and can be accessed in application without importing buffer module. A Buffer is a kind of an array of integers and corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized.