This repository was archived by the owner on Jul 30, 2024. It is now read-only.
File tree 2 files changed +0
-11
lines changed
app/current/src/main/scala/io/scalajs/nodejs/buffer 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -141,15 +141,6 @@ class Buffer private[this] () extends Uint8Array( /* dummy to trick constructor
141
141
*/
142
142
def keys (): js.Iterator [Int ] = js.native
143
143
144
- /**
145
- * The largest size allowed for a single Buffer instance.
146
- * On 32-bit architectures, this value is (2^30)-1 (~1GB). On 64-bit architectures, this value is (2^31)-1 (~2GB).
147
- * Note that this is a property on the buffer module returned by require('buffer'), not on the Buffer global or
148
- * a Buffer instance.
149
- * @return the largest size allowed
150
- */
151
- def kMaxLength : Int = js.native
152
-
153
144
/**
154
145
* Identical to buf.indexOf(), except buf is searched from back to front instead of front to back.
155
146
* @param value What to search for
Original file line number Diff line number Diff line change @@ -109,8 +109,6 @@ package object buffer {
109
109
*
110
110
* On 32-bit architectures, this value is `(2^30)-1` (~1GB).
111
111
* On 64-bit architectures, this value is `(2^31)-1` (~2GB).
112
- *
113
- * This value is also available as [[Buffer.kMaxLength ]].
114
112
*/
115
113
val MAX_LENGTH : Int = js.native
116
114
You can’t perform that action at this time.
0 commit comments