This repository was archived by the owner on Jul 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
app/current/src/main/scala/io/scalajs/nodejs/buffer Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -48,12 +48,17 @@ package object buffer {
4848 /**
4949 * Buffer Extensions
5050 */
51+ @ deprecated(" Use io.scalajs.nodejs.buffer package object instead" , " v0.10.0" )
5152 implicit final class BufferObjExtensions (val unused : Buffer .type ) extends AnyVal {
53+ @ deprecated(" Use io.scalajs.nodejs.buffer.transcode instead" , " v0.10.0" )
5254 def transcode (source : Uint8Array , fromEnc : String , toEnc : String ): Buffer =
5355 BufferNamespace .transcode(source, fromEnc, toEnc)
56+ @ deprecated(" Use io.scalajs.nodejs.buffer.INSPECT_MAX_BYTES instead" , " v0.10.0" )
5457 def INSPECT_MAX_BYTES = BufferNamespace .INSPECT_MAX_BYTES
55- def kMaxLength = BufferNamespace .kMaxLength
56- def constants = io.scalajs.nodejs.buffer.constants
58+ @ deprecated(" Use io.scalajs.nodejs.buffer.kMaxLength instead" , " v0.10.0" )
59+ def kMaxLength = BufferNamespace .kMaxLength
60+ @ deprecated(" Use io.scalajs.nodejs.buffer.constants instead" , " v0.10.0" )
61+ def constants = io.scalajs.nodejs.buffer.constants
5762 }
5863
5964 /**
You can’t perform that action at this time.
0 commit comments