Sha256: 857e71f7d5ec4f45678980cc209f2da0d44457c0c9d43e464a355449ef54b293
Contents?: true
Size: 341 Bytes
Versions: 2
Compression:
Stored size: 341 Bytes
Contents
module AprsParser module Converters class ShortPointer extend FFI::DataConverter native_type FFI::Type::POINTER class << self def from_native(value, _context) value.get_short(0) unless value.null? end def reference_required? false end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aprs_parser-1.0.0 | lib/aprs_parser/converters/short_pointer.rb |
aprs_parser-1.0.0.pre | lib/aprs_parser/converters/short_pointer.rb |