| |
| |
| |
| # Encoder class |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| ## Constructors |
| |
| [Encoder](../package-fidl_fidl/Encoder/Encoder.md) ([WireFormat](../package-fidl_fidl/WireFormat.md) wireFormat) |
| |
| |
| |
| |
| ## Properties |
| |
| ##### [data](../package-fidl_fidl/Encoder/data.md) ↔ ByteData |
| |
| |
| |
| |
| _<span class="feature">read / write</span>_ |
| |
| |
| |
| ##### [hashCode](../package-fidl_fidl/Encoder/hashCode.md) → int |
| |
| |
| |
| The hash code for this object. |
| _<span class="feature">read-only</span><span class="feature">inherited</span>_ |
| |
| |
| |
| ##### [message](../package-fidl_fidl/Encoder/message.md) → [OutgoingMessage](../package-fidl_fidl/OutgoingMessage-class.md) |
| |
| |
| |
| |
| _<span class="feature">read-only</span>_ |
| |
| |
| |
| ##### [runtimeType](../package-fidl_fidl/Encoder/runtimeType.md) → Type |
| |
| |
| |
| A representation of the runtime type of the object. |
| _<span class="feature">read-only</span><span class="feature">inherited</span>_ |
| |
| |
| |
| ##### [wireFormat](../package-fidl_fidl/Encoder/wireFormat.md) ↔ [WireFormat](../package-fidl_fidl/WireFormat.md) |
| |
| |
| |
| |
| _<span class="feature">read / write</span>_ |
| |
| |
| |
| |
| |
| ## Methods |
| |
| ##### [addHandleDisposition](../package-fidl_fidl/Encoder/addHandleDisposition.md)([HandleDisposition](../zircon/HandleDisposition-class.md) value) void |
| |
| |
| |
| |
| |
| |
| |
| |
| ##### [alloc](../package-fidl_fidl/Encoder/alloc.md)(int size, int nextOutOfLineDepth) int |
| |
| |
| |
| |
| |
| |
| |
| |
| ##### [countHandles](../package-fidl_fidl/Encoder/countHandles.md)() int |
| |
| |
| |
| |
| |
| |
| |
| |
| ##### [encodeBool](../package-fidl_fidl/Encoder/encodeBool.md)(bool value, int offset) void |
| |
| |
| |
| |
| |
| |
| |
| |
| ##### [encodeFloat32](../package-fidl_fidl/Encoder/encodeFloat32.md)(double value, int offset) void |
| |
| |
| |
| |
| |
| |
| |
| |
| ##### [encodeFloat64](../package-fidl_fidl/Encoder/encodeFloat64.md)(double value, int offset) void |
| |
| |
| |
| |
| |
| |
| |
| |
| ##### [encodeInt16](../package-fidl_fidl/Encoder/encodeInt16.md)(int value, int offset) void |
| |
| |
| |
| |
| |
| |
| |
| |
| ##### [encodeInt32](../package-fidl_fidl/Encoder/encodeInt32.md)(int value, int offset) void |
| |
| |
| |
| |
| |
| |
| |
| |
| ##### [encodeInt64](../package-fidl_fidl/Encoder/encodeInt64.md)(int value, int offset) void |
| |
| |
| |
| |
| |
| |
| |
| |
| ##### [encodeInt8](../package-fidl_fidl/Encoder/encodeInt8.md)(int value, int offset) void |
| |
| |
| |
| |
| |
| |
| |
| |
| ##### [encodeMessageHeader](../package-fidl_fidl/Encoder/encodeMessageHeader.md)(int ordinal, int txid, [CallStrictness](../package-fidl_fidl/CallStrictness.md) strictness) void |
| |
| |
| |
| |
| |
| |
| |
| |
| ##### [encodeUint16](../package-fidl_fidl/Encoder/encodeUint16.md)(int value, int offset) void |
| |
| |
| |
| |
| |
| |
| |
| |
| ##### [encodeUint32](../package-fidl_fidl/Encoder/encodeUint32.md)(int value, int offset) void |
| |
| |
| |
| |
| |
| |
| |
| |
| ##### [encodeUint64](../package-fidl_fidl/Encoder/encodeUint64.md)(int value, int offset) void |
| |
| |
| |
| |
| |
| |
| |
| |
| ##### [encodeUint8](../package-fidl_fidl/Encoder/encodeUint8.md)(int value, int offset) void |
| |
| |
| |
| |
| |
| |
| |
| |
| ##### [encodeUnknownMethodResponse](../package-fidl_fidl/Encoder/encodeUnknownMethodResponse.md)(int methodOrdinal, int txid) void |
| |
| |
| |
| Produces a response for an UnknownMethod which was called with the given |
| ordinal value for the method and the given transaction ID. This produces |
| both a message header and an encoded body. The header will have the |
| provided ordinal and txid and CallStrictness.flexible (this should never |
| be used with a strict method). The body will contain a union with ordinal |
| 3 and a value of type zx_status with the NOT_SUPPORTED error code. |
| |
| |
| |
| |
| ##### [nextOffset](../package-fidl_fidl/Encoder/nextOffset.md)() int |
| |
| |
| |
| |
| |
| |
| |
| |
| ##### [noSuchMethod](../package-fidl_fidl/Encoder/noSuchMethod.md)(Invocation invocation) dynamic |
| |
| |
| |
| Invoked when a non-existent method or property is accessed. |
| _<span class="feature">inherited</span>_ |
| |
| |
| |
| ##### [toString](../package-fidl_fidl/Encoder/toString.md)() String |
| |
| |
| |
| A string representation of this object. |
| _<span class="feature">inherited</span>_ |
| |
| |
| |
| |
| |
| ## Operators |
| |
| ##### [operator ==](../package-fidl_fidl/Encoder/operator_equals.md)(Object other) bool |
| |
| |
| |
| The equality operator. |
| _<span class="feature">inherited</span>_ |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |