| 71 | const uint8_t kPaddingBytes[kFeatherDefaultAlignment] = {0}; |
| 72 | |
| 73 | inline int64_t PaddedLength(int64_t nbytes) { |
| 74 | static const int64_t alignment = kFeatherDefaultAlignment; |
| 75 | return ((nbytes + alignment - 1) / alignment) * alignment; |
| 76 | } |
| 77 | |
| 78 | Status WritePaddedWithOffset(io::OutputStream* stream, const uint8_t* data, |
| 79 | int64_t bit_offset, const int64_t length, |
no outgoing calls
no test coverage detected