Refactor WireEncoder.

Change-Id: I50106755ce5571821d6e36767b16d08b91f054de
This commit is contained in:
Peter Johnson
2015-06-21 22:42:01 -07:00
parent dbed3fea6f
commit 047cccda89
7 changed files with 356 additions and 357 deletions

View File

@@ -312,20 +312,6 @@ void NT_InitString(struct NT_String *str);
void NT_DisposeConnectionInfoArray(struct NT_ConnectionInfo *arr, size_t count);
/*
* Message Encoding Functions
*/
size_t NT_WriteType(char *buf, enum NT_Type type, unsigned int proto_rev);
size_t NT_ReadType(const char *buf, enum NT_Type *type, unsigned int proto_rev);
size_t NT_GetStringSize(const struct NT_String *value, unsigned int proto_rev);
size_t NT_WriteString(char *buf, const struct NT_String *str,
unsigned int proto_rev);
size_t NT_GetValueSize(const struct NT_Value *value, unsigned int proto_rev);
size_t NT_WriteValue(char *buf, const struct NT_Value *value,
unsigned int proto_rev);
#ifdef __cplusplus
}
#endif