Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4498152
buffer.d.ts
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
793 B
Referenced Files
None
Subscribers
None
buffer.d.ts
View Options
interface
BufferStatic
{
from
(
data
:
string
|
ArrayLike
<
number
>
)
:
Uint8Array
&
BufferMethods
;
alloc
(
size
:
number
)
:
Uint8Array
&
BufferMethods
;
allocUnsafe
(
size
:
number
)
:
Uint8Array
&
BufferMethods
;
}
interface
BufferMethods
{
toString
(
encoding
?:
'utf8'
|
'base64'
|
'hex'
)
:
string
;
toBase64
()
:
string
;
write
(
string
:
string
,
offset?
:
number
,
length?
:
number
)
:
number
;
}
declare
const
Buffer
:
BufferStatic
;
declare
module
'buffer'
{
const
Buffer
:
BufferStatic
;
const
constants
:
{
MAX_LENGTH
:
number
;
MAX_STRING_LENGTH
:
number
;
};
const
kMaxLength
:
number
;
const
kStringMaxLength
:
number
;
const
INSPECT_MAX_BYTES
:
number
;
function
atob
(
data
:
string
)
:
string
;
function
btoa
(
data
:
string
)
:
string
;
}
declare
module
'node:buffer'
{
export
*
from
'buffer'
;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, May 3, 7:32 AM (16 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
541388
Default Alt Text
buffer.d.ts (793 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment