from static method

Buffer from(
  1. dynamic data, [
  2. dynamic arg1,
  3. dynamic arg2
])

Creates a new Buffer from data.

Implementation

external static Buffer from(data, [arg1, arg2]);