Reads the underlying wire format version. Likely mostly to be useful to legacy code reading old wire format versions. May not be called before .readHeader().
Search the reference...
/
class
Read a JS number value. For use inside of a custom deserializer._readHostObject().
Reads and validates a header (including the format version). May, for example, reject an invalid or unsupported wire format. In that case, an Error is thrown.
Read raw bytes from the deserializer's internal buffer. The length parameter must correspond to the length of the buffer that was passed to serializer.writeRawBytes(). For use inside of a custom deserializer._readHostObject().
Read a raw 32-bit unsigned integer and return it. For use inside of a custom deserializer._readHostObject().
Read a raw 64-bit unsigned integer and return it as an array [hi, lo] with two 32-bit unsigned integer entries. For use inside of a custom deserializer._readHostObject().
Deserializes a JavaScript value from the buffer and returns it.
Marks an ArrayBuffer as having its contents transferred out of band. Pass the corresponding ArrayBuffer in the serializing context to serializer.transferArrayBuffer() (or return the id from serializer._getSharedArrayBufferId() in the case of SharedArrayBuffers).
A 32-bit unsigned integer.
An ArrayBuffer instance.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →Node v8.Deserializer class | API Reference | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- Node v8.Deserializer class | API Reference | Bun - 提供全网公开链接智能索引服务,快速访问目标内容,支持分类筛选和智能导航