I am trying to embed another * .XML file in a * .BVF file.
With the api.WriteBvf (bytes) method, apparently the XML file is appended. the size of the BVF file is increased.
The problem starts when api.ReadBvf () is called. returns null.
I have observed that var count = Api.get_bvf_size (pid); always gives file length ‘0’.
By manually entering the length of the file, ‘api.ReadBvf ()’ still returns null.
Could you tell me the correct way to use these methods?
Would it be possible to have a piece of code?

Thank you

Anna Changed status to publish 9 October 2020