(ctx *WriteContext, value reflect.Value)
| 228 | } |
| 229 | |
| 230 | func (s encodedInt64Serializer) WriteData(ctx *WriteContext, value reflect.Value) { |
| 231 | switch s.typeID { |
| 232 | case INT64: |
| 233 | ctx.buffer.WriteInt64(value.Int()) |
| 234 | case TAGGED_INT64: |
| 235 | ctx.buffer.WriteTaggedInt64(value.Int()) |
| 236 | default: |
| 237 | ctx.buffer.WriteVarint64(value.Int()) |
| 238 | } |
| 239 | } |
| 240 | |
| 241 | func (s encodedInt64Serializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) { |
| 242 | _ = hasGenerics |
no test coverage detected