mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-25 21:45:52 +00:00
Rename add1/get1 to add8/get8 to be consistent with other member functions.
This commit is contained in:
@@ -114,14 +114,14 @@ uint256 Serializer::get256(int offset) const
|
||||
return ret;
|
||||
}
|
||||
|
||||
int Serializer::add1(unsigned char byte)
|
||||
int Serializer::add8(unsigned char byte)
|
||||
{
|
||||
int ret=mData.size();
|
||||
mData.push_back(byte);
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool Serializer::get1(int& byte, int offset) const
|
||||
bool Serializer::get8(int& byte, int offset) const
|
||||
{
|
||||
if(offset>=mData.size()) return false;
|
||||
byte=mData[offset];
|
||||
|
||||
Reference in New Issue
Block a user