Packet
Constructs for working with packets.
Summary
        Functions | 
    |
|---|---|
        FromPacket(Packet p)
       | 
      
        absl::StatusOr< T >
        FromPacket attempts to unmarshal a  
      Packet into a desired C++ Type.  | 
    
        ToPacket(T && t)
       | 
      
        absl::StatusOr< Packet >
        ToPacket marshals an object of C++ type  
      T into a Packet.  | 
    
Functions
FromPacket
absl::StatusOr< T > FromPacket( Packet p )
FromPacket attempts to unmarshal a Packet into a desired C++ Type. 
An error code will be returned if p cannot be extracted as the requested C++ type. 
ToPacket
absl::StatusOr< Packet > ToPacket( T && t )
ToPacket marshals an object of C++ type T into a Packet. 
The set of possible C++ types that can be marshalled are listed in visionai/streams/packet/packet_codecs/codec_selector.h