import "golang.org/x/mobile/bind/seq"
Package seq implements the machine-dependent seq serialization format.
Implementations of Transact and FinalizeRef are provided by a specific foreign language binding package, e.g. go.mobile/bind/java.
Designed only for use by the code generated by gobind. Don't try to use this directly.
const NullRefNum = 41
also known to bind/java/Seq.java and bind/objc/seq_darwin.m
FinalizeRef is the finalizer used on foreign objects.
IncRef increments the foreign reference count for ref while it is in transit. The count is decremented after the ref is received and translated on the foreign side.
Delete decrements the reference count and removes the pinned object from the object map when the reference count becomes zero.
Inc increments the reference count for a refnum. Called from Bind_proxy_refnum functions.
ToRefNum increments the reference count for an object and returns its refnum.
UTF16Encode utf16 encodes s into chars. It returns the resulting length in units of uint16. It is assumed that the chars slice has enough room for the encoded string.
A Ref represents a Java or Go object passed across the language boundary.
FromRefNum returns the Ref for a refnum. If the refnum specifies a foreign object, a finalizer is set to track its lifetime.
Bind_IncNum increments the foreign reference count and return the refnum.
Get returns the underlying object.
Package seq imports 5 packages (graph) and is imported by 1 packages. Updated 6 days ago. Refresh now. Tools for package owners.