@@ -170,7 +170,7 @@ const doFlaggedDeprecation =
170170 * runtime deprecation would introduce too much breakage at this time. It's not
171171 * likely that the Buffer constructors would ever actually be removed.
172172 * Deprecation Code: DEP0005
173- ** /
173+ */
174174function Buffer ( arg , encodingOrOffset , length ) {
175175 doFlaggedDeprecation ( ) ;
176176 // Common case.
@@ -196,7 +196,7 @@ Object.defineProperty(Buffer, Symbol.species, {
196196 * Buffer.from(array)
197197 * Buffer.from(buffer)
198198 * Buffer.from(arrayBuffer[, byteOffset[, length]])
199- ** /
199+ */
200200Buffer . from = function from ( value , encodingOrOffset , length ) {
201201 if ( typeof value === 'string' )
202202 return fromString ( value , encodingOrOffset ) ;
@@ -260,7 +260,7 @@ function assertSize(size) {
260260/**
261261 * Creates a new filled Buffer instance.
262262 * alloc(size[, fill[, encoding]])
263- ** /
263+ */
264264Buffer . alloc = function alloc ( size , fill , encoding ) {
265265 assertSize ( size ) ;
266266 if ( fill !== undefined && size > 0 ) {
@@ -272,7 +272,7 @@ Buffer.alloc = function alloc(size, fill, encoding) {
272272/**
273273 * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer
274274 * instance. If `--zero-fill-buffers` is set, will zero-fill the buffer.
275- ** /
275+ */
276276Buffer . allocUnsafe = function allocUnsafe ( size ) {
277277 assertSize ( size ) ;
278278 return allocate ( size ) ;
@@ -282,7 +282,7 @@ Buffer.allocUnsafe = function allocUnsafe(size) {
282282 * Equivalent to SlowBuffer(num), by default creates a non-zero-filled
283283 * Buffer instance that is not allocated off the pre-initialized pool.
284284 * If `--zero-fill-buffers` is set, will zero-fill the buffer.
285- ** /
285+ */
286286Buffer . allocUnsafeSlow = function allocUnsafeSlow ( size ) {
287287 assertSize ( size ) ;
288288 return createUnsafeBuffer ( size ) ;
0 commit comments