// chars + binary(self) -> binary public override Content /*!*/ ConcatTo(CharArrayContent /*!*/ content) { int count = content.GetDataByteCount(); var result = new byte[count + _count]; content.GetDataBytes(result, 0); Array.Copy(_data, 0, result, count, _count); return(Create(result, null)); }
internal BinaryContent /*!*/ Concatenate(CharArrayContent /*!*/ content) { int count = content.GetDataByteCount(); var result = new byte[_count + count]; Array.Copy(_data, 0, result, 0, _count); content.GetDataBytes(result, _count); return(Create(result, null)); }
// chars + binary(self) -> binary public override Content/*!*/ ConcatTo(CharArrayContent/*!*/ content) { int count = content.GetDataByteCount(); var result = new byte[count + _count]; content.GetDataBytes(result, 0); Array.Copy(_data, 0, result, count, _count); return Create(result, null); }
internal BinaryContent/*!*/ Concatenate(CharArrayContent/*!*/ content) { int count = content.GetDataByteCount(); var result = new byte[_count + count]; Array.Copy(_data, 0, result, 0, _count); content.GetDataBytes(result, _count); return Create(result, null); }