Send feedback
  
   
 
  
   
  
    
  
  
    
    
litert:: Summary Inheritance Direct Known Subclasses:
litert::MutableBufferRef< ByteT > 
Public types 
 
 
TupleT  
using
std::tuple< const ByteT *const, const size_t, const size_t >
 
 
Public functions 
 
 
Data () const  
const ByteT *
 
 
Dump (std::ostream & out) const  
void
 
 
Get () const  
TupleT
 
 
Size () const  
size_t
 
 
Span () const  
absl::Span< const ByteT >
 
 
StrData () const  
const char *
 
 
StrView () const  
absl::string_view
 
 
ToVec () const  
std::vector< ByteT >
 
 
WriteStr (std::ostream & out) const  
void
 
 
operator= (const BufferRef  & other)=default 
 
 
Protected functions 
 
 
TypeName () const  
virtual absl::string_view
 
 
Public types 
TupleT 
std :: tuple <  const   ByteT   * const ,   const   size_t ,   const   size_t  >  TupleT 
 Protected attributes 
data_ 
ByteT * data_ = nullptr 
 Public functions 
BufferRef 
  BufferRef ( 
   const   ByteT   * data , 
   size_t   size , 
   size_t   offset 
) 
 
BufferRef 
  BufferRef ( 
   const   void   * data , 
   size_t   size , 
   size_t   offset 
) 
 
BufferRef 
  BufferRef ( 
   absl :: Span <  const   ByteT  >  data 
) 
 
BufferRef 
  BufferRef ( 
   const   BufferRef  &  other 
) = default 
 
Data 
const   ByteT   *   Data ()   const   
 
Dump 
void   Dump ( 
   std :: ostream  &  out 
)   const   
 
Span 
absl :: Span <  const   ByteT  >  Span ()   const   
 
StrData 
const   char   *   StrData ()   const   
 
StrView 
absl :: string_view   StrView ()   const   
 
ToVec 
std :: vector <  ByteT  >  ToVec ()   const   
 
WriteStr 
void   WriteStr ( 
   std :: ostream  &  out 
)   const   
 
~BufferRef 
virtual  ~BufferRef()=default 
 Protected functions 
TypeName 
virtual   absl :: string_view   TypeName ()   const   
 
  
  
 
  
    
    
      
    
     
  
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-05-14 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-14 UTC."],[],[]]