int ProtobufImageWrapper::GetImageHeight |
( |
| ) |
|
Gets the image height
- Returns
- the image height as int
const ::std::string & ProtobufImageWrapper::GetImagePayload |
( |
| ) |
|
Gets the image payload as string
- Returns
- the payload as string
int ProtobufImageWrapper::GetImageWidth |
( |
| ) |
|
Gets the image width
- Returns
- the image width as int
bool ProtobufImageWrapper::HasImageHeight |
( |
| ) |
|
Queries if the protobuf-image has a height-value included
- Returns
- bool
bool ProtobufImageWrapper::HasImagePayload |
( |
| ) |
|
Queries if the protobuf-iamge has a payload-value included
- Returns
- bool
bool ProtobufImageWrapper::HasImageWidth |
( |
| ) |
|
Queries if the protobuf-image has a width-value included
- Returns
- bool
bool ProtobufImageWrapper::ParseFromArray |
( |
unsigned char * |
file, |
|
|
int |
protobuf_file_size |
|
) |
| |
Parses the protobuf files from an unsigned char*
- Parameters
-
file | The file as char* |
protobuf_file_size | the size of the file |
The documentation for this class was generated from the following files: