| 252 | } |
| 253 | |
| 254 | int64_t GetOutputLength(int64_t nbytes) { |
| 255 | // XXX: Hack for Feather 0.3.0 for backwards compatibility with old files |
| 256 | // Size in-file of written byte buffer |
| 257 | if (version() < 2) { |
| 258 | // Feather files < 0.3.0 |
| 259 | return nbytes; |
| 260 | } else { |
| 261 | return PaddedLength(nbytes); |
| 262 | } |
| 263 | } |
| 264 | |
| 265 | // Retrieve a primitive array from the data source |
| 266 | // |
nothing calls this directly
no test coverage detected